Help!!!

How early can u take a pregnancy test when your not due for another week or so? My friend had unprotected sex with her boyfriend on her high fertility days and she is nervous that she might be pregnant