take the headlight capsule out of the car, and take inside where it's warm, so the moisture can dry out. if after drying, you see water marks, etc you will have to split the parts in half to get that clean. if they dry without water spots/marks, then you can use some silicone sealant around the joint of the two pieces to seal it up.