There is no cure for specific phobia. However, it can be treated to the point where your anxiety is under control and you are able to function again. The best treatment for specific phobia is CBT (cognitive behavioral therapy). The following video explains the development of specific phobia, and how CBT treats it:
If you are looking for a self-help solution, then you can try Anxiety Protocol. Anxiety Protocol is a self-help book on anxiety, and is guided by CBT, the best treatment for specific phobia: