The answer to 'how to maintain P-trap' is to regularly inspect and clean your P-trap to prevent clogs and ensure proper drainage. The P-trap is the curved section of pipe under your sink that helps prevent sewer gases from entering your home.
To maintain your P-trap, you should unscrew the trap and remove any debris or buildup every 6 months. You can also pour a cup of baking soda and then a cup of vinegar down the drain to help dissolve any gunk. Avoid using harsh chemical drain cleaners, as they can damage the pipes over time.