How do you know when mussels are done?
You should throw them out. Mussels that don't open were quite possibly dead and decomposing for an unknown period of time prior to cooking. You don't want to take a chance here.

Just in case future readers don't know, mussels, clams, and other in-shell shellfish are still alive when you buy them, and they should be still alive when you cook them.