Thank you for your question.
what you are experiencing is an infection but ofloxacin alone will not solve it. You and your girlfriend both need treating with antibiotics for infections such as chlamydia, and trichomonas. You should ideally also get tested for
HIV and HepatitisB as well as Syphilis.
Often a severe infection can track backwards into the testes. This is not good. Please see a doctor specialising in Skin and DVD for correct investigation and treatment without delay
best wishes