I'm a little freaked out

Leigh

So I have only recently gotten back from a trip visiting my boyfriend, after the trip my period ended 4 days early and now along with my normal discharge there is a bit of blood and I'm in a bit of pain. I've looked all of symptoms up online and two things came up. It could be early signs of pregnancy or miscarriage and I have no idea what to think about the situation. Does anyone know what else it could be?