Washing your mouth out with soap is bad

I was washing my hands when I noticed I had something in my teeth. I went to pick it out, not noticing I had soap on the underside of my finger. Bingo, mouth filled with soap. Very nasty, have to remember that if we have kids.