Hardware wise... make sure you clean the fans out regularly (once a month or every couple of months) - they can easily get clogged in a gaming laptop. So take the bottom panel off and use some canned air to blow the vents/fans clean.
If you notice temps start to rise and you've already cleaned the fans/vents, then look into repasting the CPU/GPU.
As for your SSD, check this guide: SSD Tweak Guide
You can skip a few of the steps like disabling Prefetch/Superfetch. But make sure you disable defrag/indexing/page file.
Keep it clean and try not to eat/drink over the keyboard and such. Not all that much you really need to do to it besides keep it cool and clean (keeping it cool is the most important for expanding the life).
For software... Don't install a bunch of random crap to keep your install clean. I'd recommend installing only absolutely bare minimum software and then create a base recovery image using something like CloneZilla.