Please help!

How do i go about asking my boyfriend if he's had sex with someone else? I don't know for sure but every time we've had sex I break out & I'm not sure if its an std but I'm really scared. We're in a long distance relationship & this only started after he moved away.