Help i have 5 weeks

saku

I’m 5 weeks pregnant and I been having a stomachache the whole day and like 30 mins ago I was bleeding a little bit. I still have a light stomachache. Why is that ? Am I having a miscarried ?