Hi thanks for your question.
It seems you have contacted some sexually transmitted disease
after unprotected sex.
It is better for you to get your self examined by nearby physician to know what exactly it is .Mean while you stop applying any ointment to it.
If i is giving you too much of burning pain,you can take pain killer,till you get consultation with a physician.
Hope this answers your question