Sex night before?

Can having sex the night before you take a pregnancy test affect the results? I had some pregnancy signs and so i wanted to test while me and my so havent had an intercourse but, last night it happened and you know how the pee builds up if you didnt go right after? Can that affect the morning pee that contains high Hcg?