Trim is a setting that is not user run, it is enabled by default unless you have migrated your OS from a HDD to an SSD. Or if you migrated a non trim SSD to a TRIM enabled SSD.
Defrag is on by default, unless migrated from an SSD to a HDD. But who on earth would do that? 
And even then, i think it enables with windows update. Not sure.
Your best bet on Windows 10 is to go Winkey-R for Run and type "dfrgui" (sans quotes). Highlight your drive, click Change Settings and set optimize schedule to run daily. There is no such thing as over-trimming or over-optimizing, so this is clearly the best way. The SSD should perform garbage collection and even out the wear. SSD's are overprovisioned exactly for this reason. And of course the less full it is, the better. This is even more important if you have a newer,
cheaper SSD. In all probability it's TLC or (worse) QLC. Their cells pack 3 and 4 bits per cell respectively which is what makes them cheaper. The problem is that this reduces the number of read-write cycles they can do, and not just by a small amount.