Writing in CSV file on SD Card

Hi, welcome.
I see this is your first time posting here on the forum.
Your post describes your difficulty, but does not give us any solid information to help you.
I don't know if you read the recommended topic when subscribing to the forum:

If you haven't read it, I strongly recommend that you do and that after reading it, redo your post giving clear and useful information
so that we can help you and solve your difficulty.
Also, using </> tags, post your code.