What the heck?

I got this faint line test when I tested for pregnancy after my period hadn't came for 3 days... I had this pink color blood on a panty liner and it wasn't that much, the next day my period started... It was super heavy, and the cramps were horrible and the lower back pain, I had still been feeling sick to my stomach.. My period I thought had ended because I wasn't bleeding anymore and me and my boyfriend had sex, and blood came down and it was a lot of blood.. I said okay my period isn't done, then a few days later it was completely gone and last night we had sex again only to see this Mormong I was bleeding and I'm bleeding again.. But why is my period acting like this? I'm still having these cramps and back pain and I feel so sick.. But it's been 10 or 12 days???