Hi, welcome to the forum, your symptoms need proper evaluation. The medical causes needs to be ruled out like low blood sugar, hyperthyroid state, cardiac abnormality etc. You should quit coffee, smoking, tea, alcohol, heavy meal which can trigger blood pressure and cardiac load leading to palpitations. Get an ECG to rule out any heart condition, blood sugar, thyroid status. If any medical condition found, should be treated accordingly. Relaxation exercises, listening to music, bathing with warm water, massaging with oil etc will help you.
Insomnia be associated with sleep disorders (e.g., sleep apnea, periodic limb movements), medical conditions that cause pain, psychiatric diseases (e.g., anxiety, depression), or the use or withdrawal of alcohol, nicotine, or other substances.
Pharmacological therapy includes short course of appropriate sedatives and Hypnotics against prescription. Non-benzodiazepines are effective in delayed onset sleep disorder and help to initiate the sleep. Also if you are having severe chest congestion with pain you need cardiologist advice and some related test like ECG etc. Take care and regards.
I suggest you see your DR and take some blood tests to see what is going on .This all could also happen if you just started a new medication? A side affect, so you didn't state if you just started a new med..Don't let any of these symptoms continue.. See a Dr ASAP