corrupt card

all of a sudden my phone said the card was corrupt. I tried it in another phone and got the same message. I have no idea why. no problem with my phone or damage. Can the content be recovered? Is the card ruined? I have only had it 6 months.

thank you. Jan