When would you consider that you're excessively sweating from the armpits and what to do?

Hyperhidrosis. Antiperspirants, iantophoresis, anticholinergics, botox, and surgery as a last resort depending on the severity of the condition. See your doctor.