Use a dedicated fork oil or grease. Many people have their own way of doing things, but personally (as a workshop spanner)….
I clean everything, then drop lowers off (whole bike in stand, CBA dismantling headset that often), rake out all th oil, check for damage to seals and wear on bushs etc. Take out damper carts (if sealed ones), and hand test, if any play in them, then replace oil and/or bleed them till they are sweet again. Replace carts, clean out lowers with compressed air, lube dust seals/stanchion oil seals with fox float fluid, and the foam ring with fresh open bath oil. Put back together, fill with open bath oil, torque up the bolts, done.
Do that maybe every 3months, and replace the oil/dust seals/foam rings/moving part O rings (damper cart seals/air piston rings etc) about once a year.
Little and often is the way to avoid needing a new fork. Even a garden hose has enough power to push water past your seals and emulsify the oils within causing wear etc.
A geezer brought a bike with £800 fox forks on today, about 2 years old, never serviced, and they are a borderline right off, only thing worth a damn is the lowers and the damper cart, everything else is ****, repair bill is about half of that of a new fork. Vs. a regular oil & seal change every 3 months even at shop prices is only £40 all in, so yeah, little and often.