Can I test?

If I had sex 6 days ago but my period is now four days late then can I take a pregnancy test and get an accurate result since it is after the day of my expected period? Thanks Ladies wishing angel dust for all who need it!