pregnancy test

should a urine test at the doctor be accurate since i took the test 8 weeks after having sex???