As a young manager working for an investment bank that was snapped up by Goldman Sachs in the wake of the dotcom implosion, I was dealt a double whammy. I was told I no longer had a job, and I had to tell the hotshot college recruits I just wooed from other prestigious job offers that they were gone too.

I was worried about my future and felt horribly guilty for having recruited folks who trusted in the company -- and me. 

Losing a job is the toughest thing that can happen in one’s career. In the moment, it feels like a vicious blow to the psyche that will leave an indelible mark on your job prospects and self-confidence. It’s not. In time, most fired employees will view it as a pivotal moment that righted a perhaps listing career. But that revelation occurs quite some time down the road -- not on the day the weeks to follow the firing. When you’re the one wielding the hammer, that’s crucial to remember, because your goal should be to fire with compassion.

Jeff Weiner, my former CEO at LinkedIn, always challenged us to manage with compassion. As he writes, “compassion is a more objective form of empathy. This idea of seeing things clearly through another person's perspective can be invaluable when it comes to relating with others, particularly in tense work situations.”

Related: What to Do When You Hire the Right Person for the Wrong Position

There’s nothing more tense than letting someone go -- whether it’s for performance reasons, financial cost-cutting or for just plain bad behavior. I’ve fired more than a dozen people in my career for all these reasons.

As a manager, it doesn’t exactly get easier but there’s a maturity earned in the knowledge that it’s the right move -- both for the future of the company and the employee.

Here’s how to fire with compassion:

Document and communicate poor performance. Firing for performance reasons should never come out of left field, but it often feels that way to the employee. This is why it important to provide employees feedback and document any incidents. If there is none, there is a problem with the company’s employee practices. In the fast and hungry world of startups, this is all too often the case.

A poor performer is death to a small team. Just as there’s a need for decisive action if it’s not working out, there needs to be an aggressive onboarding and feedback loop to communicate problems quickly and give an opportunity for corrective action before swinging the axe.

Practice the conversation before you walk in the room. You have to role play what you’re going to say. At many companies, you will rehearse with someone in HR -- but that’s often a luxury for smaller firms. If one of my newer managers has to fire someone, I like to do it with them, so they can benefit from my experience.

Related: How to Fire Someone Without Getting Sued (Infographic)

Your ultimate goal is to leave the termination meeting on the best terms possible and for you to keep calm during the meeting. That makes practice essential, but there is no way to predict how the person you’re firing will react. Role playing is an active exercise in empathy. It makes sure those skills are limbered up, come what may.

Be direct and firm – but let them speak. Conventional wisdom says to be brief, firm and definitive when firing an employee – which you should be.  Experts will tell you not to be drawn into an argument or allow the employee to vent. I disagree. I think the right action is more nuanced than “be brief and be gone.”

Maybe because I’ve been on the other side of the table, but I think the standard, “I am sorry you feel this way but the decision is final,” is not honoring another person’s perspective and preserving their dignity.  There are many times when there are legitimate gripes or mitigating circumstances surrounding a firing. It is OK to recognize that but note there are other considerations that trump that and have led to the final decision. The decision may be final, but I am open to discussion about where things went wrong -- in a limited and controlled way.

This is good not only for the employee but also the managers. 

If you can, be generous. If the business can afford it, I always want to error on the side of generosity when terminating an employee. When my colleagues and I were let go, the bank gave us our bonus and allowed us to vest some of our unvested shares. It was a classy move that took some of the financial sting away and helped us part on good terms.

There is a high level of responsibility that a company takes when bringing an employee on board. If things didn’t work out for whatever reason, the business should be open to doing what it can to help ease this burden. Aside from salaried severance, it could be that you offer COBRA coverage for some period of time or outplacement services.

Firing an employee is the worst. As difficult as it is for you, it’s an order of magnitude worse for the employee. Keep that high in your mind, and you’ll be able to both fire with compassion and do what’s best for your company.

Related: 4 Secrets to Firing Your First Employee