You had protected sex. Condoms are extremely effective at preventing HIV infection. You did not have a risk in this situation you bring to the forum. Assuming you have had no other risks, your symptoms have nothing to do with HIV. Keep using condoms for anal/vaginal intercourse until such time as you are in a monogamous relationship with someone who is conclusively HIV negative and you will avoid HIV infection. Good luck!