Understand exactly what causes your claustrophobia. Try to remember if there was an incident from your past that led to this fear. It could also be from a family member who suffers the same.
Step2Talk with a doctor or therapist. They can be the best at determining the cause and solution. Being able to overcome your fear and function in society is worth the financial cost.
Talk with people who have also suffered from claustrophobia and overcome it. Look for local support groups where people talk about these experiences.
Find ways to calm your body and focus your mind. This is one of the biggest steps toward overcoming fear. It could involve meditation or maybe just taking deep breaths.
Put yourself in a situation that causes your fear to emerge. This should include whatever specifically triggers that fear, such as a small elevator, a room with no window or inside a car.
Think of more positive, rational thoughts that replace the negative ones that cause the fear. These thoughts are what drive the emotion and action. This is known as cognitive behavioral therapy.
I hope this serves some points for you.