When pressure mounts, follow these tips to maintain your composure.

It’s easy to keep it together when everything – or everyone – is going according to plan. Staying composed is trickier when you’re under a lot of pressure or if people around you are being difficult. So how do you wrangle stress under pressure? Huffington Post offers up four mind tricks to help you maintain your composure – here’s a quick look:

    Manage your ego. Overanalyzing a situation can lead to undue pressure, especially when your reputation is on the line. Having a mindset of helpfulness can relieve some of that pressure.

    Forgive the oversight. Not everyone is out to get you. Showing others grace builds character.

    Turn on your analytical brain. When you feel your emotions flair, it can be hard to keep it together. Get a grip on your emotions by performing calculations or counting to ten—it engages your analytical mind.

    Walk away. If a situation feels like it’s getting out of control, your best chance at staying calm might be to excuse yourself and take a break.

Keeping your cool when things aren’t going your way is tough. But by being mindful of the situation and how you’re feeling, you can stay calm and composed under pressure. Take a closer look at ways to stay sane in stressful situations.