This is a common problem - there are medications and psychological / behavioral approaches - most notably I think is exposure therapy.
Here are some past discussions:
Learn more about causes and treatments here: