Problem Xiaomi redmi note 8 sd card problem


Good evening! I have a Xiaomi redmi note 8 phone and I have a problem with the sd card. Last year, after I arrived from vacation, I noticed that not all the pictures were visible anymore, I took out the card and inserted it into the laptop, the same way...only certain pictures were visible. I changed the card and now it doesn't see the card at all, neither the phone nor the laptop. What can I do to recover the pictures from the card? Why do I keep having problems with the card? Specifically, I inserted small 16 GB cards.