Bleeding after a positive pregnancy test

Could I be having a miscarriage. I took a home pregnancy test two days ago and it was positive. Now today I wiped red blood. Could I be miscarriage or is it because I had a ectopic pregnancy 2 months ago?