When is it right to take a pregnancy test

If I didn’t have sex but my boyfriend nutted on my bottom and there was in intercourse but yk things can happen. This happened Aug 14th I took a test this morning it was negative but my period is 4 days late ?? Is it accurate