found out my bf is cheating on me please help

I just found put my bf is cheating on me. I'm 17 weeks pregnant and I can't stop crying. will this hurt the baby??