Hi ! The sedative drugs you take might have caused this when you got up suddenly from your bed. But considering the history of massive sweating, and chest pain
, I would suggest you to get yourself clinically examined by a doctor at the earliest possible hour who may advise you for a ECG, X ray
chest , and some routine blood tests including cardiac enzymes.
Wishing you an early recovery.