How soon after I had sex could I take a pregnancy test?

Caitlyn
I had sex last Monday and I'm 7 days late for my period how soon can I take a pregnancy test? Someone please help I'm really worried.