Pregnancy test (on bc)

How soon after unprotected sex (ie. no condom) can you take a pregnancy test? I’m on birth control and take it religiously, but to ease my mind because I’ve been feeling bloated and nauseous almost every time I eat something. Is it best to wait until my period week or can I take it even earlier?