Flea shampoo

My inside dogs have fleas. The only thing I had on hand was flea shampoo. I wore gloves but some of the water got in my glove and one of my dogs shook and got the soapy water on my face. None in my eyes mouth or nose. As soon as I finished I washed my hands all the way up to mt shirt sleves and then I also washed my face. Im 24 weeks pregnant. Should I be ok???