OCD? Please help me.

I've struggled with intrusive thoughts for a very long time, and have always chalked it down to just my anxiety. Recently though its become an obsession, making sure I'm not thinking these thoughts (making them occur) and always checking checking to make sure anything dangerous is put away. Its also gotten to the point where when I have these thoughts, I repeat a phrase to myself over and over again until they slowly fade away. I don't know if this is a mild case of OCD, and I'm not sure when to talk to a doctor.

My biggest fear is since I have intrusive thoughts, I'm scared that once I have my baby they will make me be supervised or not let me be alone with her. I'd never hurt anyone, and any thoughts I have disgust and disturb me. It'd only make it worse if they made me feel like a danger and like I'm crazy. What do I do? Please help me, I'm desperate.