How long after a missed period.

When did your test come out positive.

In October i had a text come back at 4 weeks 6 days got a nurse confirmation at 5 weeks. 5 weeks and 3 days i went to the hospital and test came back negative. I had all the pregnancy symthoms. Was it a miscarriage. It hurt so bad. Now im 4 weeks 3 days out with a negative. Missed period and symthoms again. I dont want it to happen to me twice.