Periods Off After miscarriage

Kassandra
So I had a miscarriage last month and I just had my period a couple weeks ago at first I thought I was pregnant because I was 3days late but I wasn't I didn't feel pregnant so I couldn't have been (I have 1 child more aware of my own body since then). Can a miscarriage mess up your cycle?