The answer to 'how to clean P-trap' is to regularly clean the P-shaped pipe under your sink to prevent clogs and odors. This simple maintenance task can be done easily at home with a few basic tools.
To clean a P-trap, first place a bucket or towel under the pipe to catch any water or debris. Then, use pliers or a wrench to loosen the slip nuts that connect the P-trap to the sink drain and the wall pipe. Carefully remove the P-trap and inspect it for any buildup or debris. Use a wire brush or pipe cleaner to scrub the inside of the trap, then rinse it with water. If the trap is severely clogged, you may need to use a plumber's snake or other tool to clear the blockage. Once cleaned, simply reattach the P-trap and tighten the slip nuts back into place.