i need help

okay so my fiancé & i have been having unprotected sex for a couple months now. i had a pregnancy scare 2 months ago, & about a year ago i had a miscarraige. i've been having pregnancy symptoms for the past 2 weeks, & when i took a test it was negative. this morning i woke up to really bad cramps & a migrane & noticed when i went too the bathroom i had some spotting. when i went too the bathroom again maybe an hour or so later, i still had spotting but it wasnt pink like it was before. this time it was a brownish color. almost the same color my period is when its ending. but that was it, nothing since then. i dont know what it could be & im nervous cause we're trying to have a baby. any advice?