Am I pregnant ?

So earlier this month I kinda had my period but it was like for 2 days and there wasn't really anything there. Yesterday && Today I've pretty much done nothing but run back and forth to the bathroom. It go so bad I started holding it cause I was in church and didn't want to draw attention. So I hold it pretty often so I'm not going all the time but even then I'm still going like 15 times a day && it would be more if I didn't hold it. I can pee then like 20 seconds later I have to pee again. Should I take a pregnancy test ? When should I actually take it ?