Safely remove the crab and discard all substrate. Scrub decorations and the enclosure with a mild disinfectant, rinse thoroughly, and replace water. Deodorize with baking soda, activated charcoal, or a vinegar solution. Prevent future odors with regular cleaning, ventilation, and good water quality. Never use harsh chemicals directly on crabs or their habitat.