I am so sorry to hear that you have been experiencing such symptoms. It must be frightening for you. Your symptoms are consistent with a Panic Disorder with Agoraphobia because you do not want to leave the house. I highly recommend that you have a physical exam completed to rule out any other conditions that may be responsible for your symptoms. If your diagnosis is panic attack with agoraphobia, you should consult a psychologist that specializes in treating panic attacks utilizing exposure-based therapies. This therapy is highly effective in treating panic attacks. From a biological standpoint your body is activating a fight or flight response without a real threat in the environment that manifests itself in panic.
In addition, your diet plays a huge role in your mental and emotional state. The foods and liquids you consume create your brain chemicals which influence how you think and feel. Alcoholic beverages along with caffeinated products can make your panic more intense. I would recommend eliminating such products from you diet.
Your psychologist can determine whether you should be referred for a medication evaluation. There have been many cases where individuals have been treated with the exposure-based therapies without relying on medication.
I'm not sure what your experience has been with doctors, however it is important that you find a doctor that is a good fit to ensure your level of comfort and alleviate your terror of doctors.