Feel a feeling vs change a thought


How do you discern when you need to feel a feeling vs when you need to alter a thought?
Thanks