Positive test before the day of my period


So I got my BFP yesterday, the day before my period. Today I’ve been getting mild cramping almost like my periods gonna arrive..... is this implantation? My heart sank a as soon as I get the cramps! Can anyone advise me on this?