32gig sd card corrupt
Try accessing the memory card from another device or a memory card reader connected to a computer. If it still looks empty, you can use data recovery software on the card to try to extract any useful data. There's plenty of apps available for this, so you'd have to search for something suitable to your OS and your budget (some of them cost money) - look for articles like 5 of the Best Free Linux Data Recovery Tools.

If you find that your card works flawlessly in another card reader, then your phone is likely at fault and should be returned for a replacement.

If you manage to recover data from the apparently empty card, you should probably replace it as soon as possible as it doesn't seem to be completely reliable.