Help! 5 weeks and brown spotting

Martha
I just went to the bathroom and I noticed in my underwear that there was brown spotting I wiped there wasn't that much..I looked yup many said it could be an ectopic pregnancy now this is my first,have any of you had this symptom and your baby turned out to be ok?