Pregnant

Okay so last night after working out I was having some mild cramps when I coughed, so I took a test and it came back positive!! I’m super confused though because I was bleeding like a normal period last week?