Wanting to do so is the first step, its a skill to be developed so dont beat yourself up over it, it can be hard to do so!
When emotions come from us, an emotion is from some type of attachment or desire we have, a sort of reaction we get from values but a lot of the time they are ignored or changed or confusing.
The first thing to do is accept your emotion, accepting means knowing youre having an emotion and its okay, like okay I feel sexual impulses, that is a feeling that I have, but it isnt me or my actions. The feeling doesnt make me bad or wrong, its something Im feeling.
Then sit with it, where does your mind go from there, are you also feeling sad? Lonely? Wanting to be validated? Maybe related to your job or worried? Maybe do some writing about what the emotion feels like and what else happened to you that day, like a pressure or anxiety or a day that feels sad to you. Sometimes we can see patterns over what is happening, this helps us understand who we are by how we respond.
One key about emotions is not adding to them, you have them and then they come and go, who you are is the same. Try some writing and just paying attention to how else you might feel, uncomfortable, heavy, anxious, whatever may be, and try to write and think about it. It will come with practice