It’s good that you’re aware of your behavior and are questioning it — that awareness itself shows you want to change, and that’s the first step forward. Cheating despite having a loving partner often isn’t just about attraction or desire; it usually connects to deeper emotional or psychological patterns.
Sometimes this can stem from:
• Unresolved emotional needs or a lack of self-worth
• A tendency to seek excitement, validation, or escape
• Difficulty managing impulses or facing emotional intimacy
Medication is usually not required unless there’s an underlying mental health condition, such as an impulse-control or obsessive behavior issue — and that would need assessment by a psychiatrist.
Next Steps
In most cases, counselling or psychotherapy helps more effectively. A therapist can help you understand the root cause, develop self-awareness, and learn how to manage impulses while rebuilding emotional connection.
I would suggest you to have counselling with an expert — and I can also help you with this if you’d like to explore it further.