According to the data you provided, you might be experiencing genital and/or urinary infection. Whether the prostate was affected can not be told without further test. Chlamydia and Gonorrhea are just some of the many possible bacterial causes for your condition.
Urethral swab and urine culture with antibiogram are needed to determine the exact cause and the most useful antibiotic.
Taking very potent antibiotics for longer period might affect the normal bacterial flora in the intestines and in the mouth resulting in diarrhea and/or oral fungal infection (most often candidiasis). Since you already have your treatment for the fungal infection, you might just have another HIV test three months after exposure.