False negative help?

Can you get a false negative at 3 weeks after sex does it depend on the hormones? Or are they pretty accurate my period isn't that regular so I'm not sure when to test