Processing pain vs. allowing an emotion

Can you clarify the difference between processing pain and allowing an emotion. Is it pain in particular that needs to be processed or can any feeling we don’t want to resist, react, or avoid be processed? Is processing the same as allowing? Thanks for clarifying this for me.