Just found out my boyfriend had sex with a man

I just looked through my boyfriend’s phone and found out that he has been having sex with men unprotected. I’m 14 weeks pregnant and now I’m afraid I have HIV. Should I tell the other people he’s been involved with?