Indulgent emotions


How do I get rid of indulgent emotions? or just not indulge in them?
Let’s say I give myself a time limit of 15 minutes to feel the indulgent emotion, how do I stop after 15 minutes?
And lets say by some miracle I do stop after 15 min, maybe a few minutes or hours later it pops back up how do I get past that moment?