Taking a test after sex?

Elizabeth • 23. Engaged. TTC our first. Hoping for a boy.
Would having sex shortly before testing have an effect on my test? I'm 14dpo. Af due today. We just did the BD and MIL walked in the door with a test...lol