Maybe pregnant?

The past few nights I’ve been waking up in the middle of the night nauseous and today is the longest it’s lasted. The last time i had sex was almost 2 weeks ago, should i buy a test and see or is it still to early?