miscarriage

i’m not sure if i had a miscarriage. if i did, i had no idea i was pregnant. i had sex with my ex boyfriend 6weeks ago, that was the last time. please comment with any solutions, help, advice, etc. i’m scared.