There are a few things you can do to ensure your laptop lasts a long time and performs its best.
1)Anti virus/malware softwareOne of the first things you should do with any new computer is install antivirus software. It helps protect you from malicious software that can do anything from stealing your personal banking info to using your computer as a member of a huge zombie horde that cracks passwords instead of brains. There's lot of free software that works perfectly well for personal users, so don't pay for it. I prefer Avast but there are a few other free alternatives.
2)Good air circulationHeat is very bad for computer parts and too much heat will wear the computer down faster. Always use it on a flat surface. If you're going to use it in bed, on the couch or on your lap, I would suggest investing in a laptop cooling pad for around $10-20 so you have a flat surface that also helps dissipate heat. This probably has the greatest long term impact on the laptop.
3)Clean out dust regularlyNeglecting this leads to overheating. Dust builds up pretty fast in your computer. I would recommend at least using compressed air to clean the dust out of the fan exhaust, and if you're comfortable with it, opening the laptop from the bottom to get better access to clean. This may void your warranty though, so I would say just do the best job you can from the outside if you don't want to risk that.
4)Do occasional software maintenance Every once in a while, go into add/remove programs from the control panel and look for junk to uninstall. Sometimes there's programs you use once and forget about, and other times stuff you didn't want will hitch a ride with other software you install. Sometimes these unwanted programs have update wizards or other silly useless things running in the background wasting resources. Also, make sure you set up an automatic disk defragmentation schedule. From regular use of your computer, data gets scattered all over your hard drive and it takes longer for the computer to find what it needs. Disk defragmentation acts like the librarian of your computer. It reorganizes the data for faster access. The more often you do it, the quicker it goes.
Instructions for windows 7 can be found here:
http://www.howtogeek.com/howto/windows-vista/configure-disk-defragmenter-schedule-in-windows-vista/Instructions for windows 8 is here:
http://helpdeskgeek.com/windows-8/what-happened-to-disk-defragmenter-in-windows-8/5)Replace the battery when it goes badWhen the amount of charge on your laptop's battery is low and the laptop is not plugged in, the performance of the device can be affected. When you first get the computer, the battery should last anywhere from 2-6 hours depending on the laptop. If you can't browse the internet for more than 45 minutes on a full charge, it's probably time to replace the battery.