Do not use household oils, cooking oils, or any non-instrument-specific lubricants on your trumpet. These can gum up valves, damage finishes, and hinder performance.
Instead, use valve oil specifically designed for brass instruments. Valve oil is lightweight, non-gumming, and protects the close tolerances of piston valves. Apply a few drops to each valve casing before playing, and clean valves regularly with a lint-free cloth.
For slides, use slide grease (not oil) to ensure smooth movement without leakage.
Regular maintenance with the correct products keeps your trumpet playing smoothly and extends its lifespan.