Talk with your doctor about what may have caused your contact dermatitis. If it's an ongoing problem, patch testing may help you figure out what caused the rash. Once you learn what caused your rash, make sure to stay away from that substance.
If you come into contact with it again, wash your skin right away. If you can't avoid the substance, wear gloves or other protective clothing before you touch it. Wash the clothing you were wearing. This is because the substance you're allergic to may stay on them until it's washed off.
Pets can also pass on allergens, such as oil in poison ivy, from the plant to your skin. Bathe pets if you suspect they've been in contact with an allergen. Or use a cream, lotion, or ointment to protect your skin.