Here's a really short and simple technique, yet one you'll be able to use in a thousand situations.
Suppose you're stuck in the rain, soaked and freezing. Say this phrase: "I am more than these feelings."
Suppose you're listening to someone chew you out and beginning to feel the anger. Say this phrase: "I am more than these feelings."
Suppose that you're feeling homesick or even that you've lost someone you love. Say this phrase: "I am more than these feelings."
Say it aloud, if you can. If not, shut your eyes for those quick seconds it takes to say it. Focus your attention. Really mean it, if only for that brief moment. It will help.
As I say, there are a thousand opportunities to repeat this reminder of who you really are. Let yourself feel pain, anger, frustration, or boredom, but also know you are more than that. As Walt Whitman knew well, you are large, you contain multitudes.— Franz Metcalf in Just Add Buddha!