Help!

Needa

Hey guy I’m so lost right now so I’m pregnant ( took a test today) but thought I was pregnant a month ago took test June 5 pregnant idk if I had a miscarriage (bleed for five days started on the 8th) never had a period but still got a positive today and I’m having a lil bit of cramps every now and then and some spotting less the panty liner maybe once a week HAVE ANYONE DEALT WITH THAT? Do anyone know what it could be?