How can you stop being jealous?

I think if you are jealous the easiest way of getting over it is to , believe in yourself dont let other people in the world bring you down or thank less of yourself. I thank if you just have confiedence in yourself and you trust your mate then everything is good.