Pregnancy test

How many days after a miss period can you do a pregnancy test? Period is 5 days late. All i would be worried about is pre cum cuz we haven't officially done anything else