If someone has oral gonorrhea and/or chlamydia, they are only infectious from the mouth. They would have to give oral sex in order to transmit it.
They could also have it genitally, though, if the person they got it from had it orally and genitally. If you think you have an STI anywhere, you should get tested and treated before having any kind of sexual contact with someone else.
To find out if you have something orally, you will need oral testing. A urine test will not detect oral infections.