It is impossible to get rid of emotions in any way. Emotion is a reaction to what is happening or said, the reaction of your consciousness and it will be in any case. But you can control emotions, not show them. Although, in fact, it is incredibly difficult, especially for impressionable people. Read the book "The Psychology of Emotions" by Paul Ekman, most likely, you will find the answer to your question there.
I once answered this question from thequestion.ru
For example, through the practice of mindfulness, then you will control the input parameters of your feelings and stop reacting if you really do not want it, but remember any desire and not desire is an unconscious reaction of emotion in relation to yourself.