when to take pregnancy test

On Tuesday i went to my doctors Becuase I'm having pelvic pain. well they took a pregnancy test it was negative... well now I'm two days almost 3 days late on my period. Would I take one after this missed period? or before my next period?