Is this normal.?

Im pregnant i had sex last night and every since then I been spotting And then I had this !! Please tell me everything is okay I already suffered a miscarriage.