To clean a garbage disposal trap, turn off the power to the disposal. Place a bucket underneath the P-trap (the curved pipe under the sink) to catch any water. Unscrew the connections holding the trap in place and remove it. Clean out any debris or buildup inside the trap, then reassemble the pipes and check for leaks.