*Updated* Is..is this a miscarriage?

I'm about two weeks right now. This morning after I woke up I had a small bit of red bleeding that my underwear caught, just one incident and no more red blood. I've been cramping since 2 days before my period was supposed to arrive. Ive had on and off brown discharge/(spotting??) When I wiped that was super light, I used the restroom when I got home from work and after just a moment of super intense pain I wiped and this happened?? My dr. Is closed so i have to make an appointment tomorrow. I hope i didn't lose my baby...

**UPDATE**

I went to the er and got an ultrasound, the doctors explained I have a uti that I didnt know about which was causing complications. The ultrasound showed that my little one is where it should be and everything is okay!