After a while, the SD card in your camera may become full of photos and videos, the file system may become corrupted, or the SD card may become infected with a virus. It is easy to solve these problems if you know how to format an SD card to delete the files and start with a new SD card for your camera.
How to Format SD Memory Cards (On Any Camera!)
The most efficient way to format your camera SD card is with your camera. The camera's formatting process minimizes the chance of errors.
Back up the files on the SD card to your computer or cloud storage service.
Make sure the camera battery is fully charged.