Unless you are going through menopause or have just completed an exercise, sweating excessively or breaking out in a cold sweat could be a sign a heart attack is looming. When your body is in trouble, it will go into fight or flight mode as a response to the stress, and this can lead to sweating.