UTI/STD test

So I went to the doctors 2 days ago and I had to pee in a cup to see if I had a UTI or an STD, it's the first time I've ever peed in a cup to get these types of results back so I was wondering how long does it usually take to get the results back?