How do you deal with jealousy

how do you deal with jealousy and how do you know when it's you being jealous or if there actually is something to be worried about