Most soft drinks contain high doses of caffeine. It appears you took a huge amount of caffeine that night and now are suffering from caffeine withdrawal symptoms
like headache, muscle pain
, irritability etc. These symptoms are likely to improve in a few days. So please do not worry. Just take lots of water and keep away from caffeine.
Hope this has been of help. Best wishes.