Commit when you're in a relationship !
If you wanna flirt, then do it to your partner and not other people. If flirting still excites you, then don't be in a relationship because you're not ready for commitment.
This one should be taken note by all not just males.... Females are good at it too! Personally I find no need to entertain other people while you're in a committed relationship in the first place... People treat loyalty and respect like it's thing of a past!