Do you have any medication going on for any problem like
diabetes, blood pressure, anxiety or depression. It may be effect of medicines on your system, particularly Blood glucose. If it falls below a certain level, it may produce similar presentation- sweating, confusion headache, loss of balance, even convulsions. Get your real time blood glucose at that moment. You may need to readjust your doses if at all you are taking something. If not show yourself to a qualified physician and follow the advice properly.