please help ladies!

so i’m on the pill where i only get my period 4 times a year. i’ve been on it for awhile and recently let me bf cum in me for the first time on july 6th. i know i’m prob not pregnant but i wanna take a test to make sure because i’m feeling a little off lately (probably from stress/anxiety). would a test be accurate right now? given that it’s been 17 days since he came in me?