stds questions

Question , when you go to the doctors and they check your urine samples each time would they be able to see an std pop up if a person had something I heard a crazy story today and it makes me wonder.. a lot of ppl get swabs done for stds not urine ?