If clam’s shells are open before cooking, tap a couple of times. If it doesn’t close, it isn’t alive and should be discarded.