First period since misscarriage

I have just finished my first period since a miscarriage I don’t understand y I was in so much pain threw my period I have never had pain during one before not even slight cramps all the way threw my backs hurt (still does now) my hips and my knees n wrists I’m no confused can anybody help at all?