In addition to your anti-virus software I recommend using the free version of Malwarebytes. Then you may wish to copy off any data and re-format the card (i.e. NTFS may be ideal for Windows).
If it's a camera card the camera itself should format it.
Use a card reader on a PC with virus scanning enabled (and if possible disable auto-run).
Scan the card and allow the virus scanner to delete infected files.
In addition to your anti-virus software I recommend using the free version of Malwarebytes. Then you may wish to copy off any data and re-format the card (i.e. NTFS may be ideal for Windows).
If it's a camera card the camera itself should format it.