Patient: Should i go to the hospital?

Symptoms: I had finished my period about a week ago and I am taking birth control. today while in the bathroom i noticed that i was bleeding again and this time there was bloody mucus / pus in my underwear so when i whipped myself there was a lot more or this bloody mucus i am very scared and need to know this is a sign in a miscarriage or if i should maybe go to a hospital