You should have figured out the answer from this advice that lists the only way to get hiv. Reread it next time you need advice about hiv.
https://
www.medhelp.org/posts/HIV-Prevention/Shared-razor-hiv-risk/show/3052181
You have previously been advised of the risks for HIV. The only risks for HIV in adults are:
1) Having unprotected anal or vaginal sex, or
2) sharing intravenous needles with IV drug users.
"STDs" stands for sexually-transmitted diseases. Unless you also had sex with your friend while urinating, you didn't have a risk for STDs at all.