How early can you take a pregnancy test?

It’s been just over 2 weeks since we have sex (January 15) and I’m not supposed to be getting my period till the 9 of February. When’s the earliest I can test?