HELP please

my period was super heavy yesterday and had horrible cramps and also the first half of the day today and now it’s almost completely stopped and i don’t know why? i did take plan b 1 and 1/2 weeks ago. could plan b shorten my period?