How can I control panic disorder?

A couple of ways. Panic disorder is a form of anxiety disorder. I would recommend seeing a doctor and see if you really have this. Also one can treat the underlying cause with a serotonin drug and use a tranquilizer like Clonazepam to take for breakthrough panic episosdes. In addition counseling can be helpful in dealing with this as well. Definitely get help as this is treatable.
Face Fears. Facing one's fears head on is called desensitization or habituation therapy. You need to face your fears until you have a panic attack and then, do not do anything to try and make the anxiety go away. Allow the anxiety to wash over your body and you will eventually set yourself free from the anxiety.