If you had unprotected sex you put yourself at risk of STIs including HIV. Consenting to u/p sex is consenting to the risk of acquiring an infection.
You did the sensible thing, only after the fact, and should follow the advice of your healthcare provider.
You can test confidentaly or anonymously after the window period of 3 months.
1 in 1000 or less. Next time post your own thread or sift through the forums, your question has been answered hundreds of times by the Dr's...It can confuse things with multiple questions in the same thread.