For some reason, I never had a problem getting rid of an ex. I certainly wouldn't want their continued presence to be a source of discomfort for my new boyfriend, and once we were over, we were OVER.
Anyway, there is no way to "solve" a jealousy issue other than to outgrow it. I think that you need to monitor your behavior rather than your emotions. No one ever said you can't *feel* jealous, what you need to avoid is letting anyone else know you are feeling it. You know, fake it. It gets easier with practice.
Relax... I'll need some information first. Just the basic facts - can you show me where it hurts?