Pregnancy or period

Leanne

Hey i was due AF the 18th but never came (always came,) the 19th I had brownish spotting when I wiped and lasted for 5 days took a pregnancy test today and nothing has anyone went through this I'm so confused and doctor dosnt know what wrong either keeps saying wait for next month