Broken CFL or fluorescent bulb? Ventilate first; avoid vacuuming
Fluorescent tubes and CFL bulbs may contain mercury. The U.S. EPA recommends moving people and pets away, ventilating for 5–10 minutes, collecting pieces with cardboard and tape, and not vacuuming initially.
This guide addresses mercury-containing fluorescent tubes and compact fluorescent lamps (CFLs), not every LED bulb. EPA's approach is ventilation, sealed collection and disposal according to local rules. Seek local environmental or medical guidance if exposure or cleanup is substantial or uncertain.