Mussels are delicious and high in vitamins like B12, but there are plenty of stories about people getting sick after eating shellfish. Shellfish, including mussels, must be impeccably fresh when you eat them, or you will risk getting ill. The primary rule is to eat only mussels that are closed tight when they're in the open air.
Check the shell for chips and breaks. If the shell is broken or smashed in any places, the mussel is dead and will not be safe to eat.
Look at the opening of the shell. If it is fully open, then the mussel is bad.
Check if the opening of the shell is partially open. This could be a sign that the mussel is bad.
Tap the shell if it's partially open. If it closes completely, then the mussel is still alive and it is safe to eat.