Cheating boyfriend

I’m 5 weeks pregnant and my boyfriend decides to start cheating and not coming home at night.. why is he doing this to me I’m so hurt but I know stress is not good right now but I don’t know what to do.