The answer to 'switch gets hot' is that a hot switch is usually a sign of an electrical issue that requires immediate attention. Common causes include a loose connection, overloading the circuit, a faulty switch, or a problem with the wiring. Symptoms may include the switch feeling warm or hot to the touch, flickering lights, or an electrical burning smell.
If a switch is getting hot, it's important to stop using it right away and have an electrician inspect the issue. Attempting DIY repairs on a hot switch can be dangerous and should be avoided. An electrician can safely diagnose the problem, make necessary repairs, and ensure the electrical system is functioning properly to prevent fire hazards or further damage.