I had sex on the 2nd and 5th. When can I test?

How soon can I take a pregnancy test and what kind is best?