Latch-up occurs in CMOS chips due to the interaction of parasitic bipolar transistors that form a silicon-controlled rectifier between the power and ground rails. This can cause excessive currents and potentially damage devices. Latch-up can be triggered by disturbances that increase the collector current of one of the parasitic transistors, activating positive feedback between the transistors. Guidelines for preventing latch-up include using guard rings connected to power and ground around transistors to reduce resistance and capture minority carriers, as well as placing wells and substrate contacts close to transistor sources.