Help got a positive test then started have pain and bleeding

Marie
I took a pregnancy test and it was positive then the next day I started to have sharp pains in my back and right side and had some bleeding happen. Is it a miscarriage I am only 5 days late on my period