Pregnancy test

When should you wait to take a pregnancy test? I am currently 5 days late even though I had sex with protection