Welcome to icliniq.com.
I understand your concern.
1. It certainly looks like candidal balanoposthitis (attachment removed to protect patient identity), though I would appreciate a photo without flash to see the lesional morphology better.
2. Besides the fact that it can spread via sexual contact and one is advised to get their partner also treated, other precipitating factors like blood sugar should be ruled out.
Treatment remains the same as you are already taking it. Get other relevant investigations done to rule out any associated STDs. Take care.