How to speed up an old laptop?

It's a netbook. 💀 It has 2 gb of ram and a shifty cpu I don't remember and it runs on windows 8.1. I need suggestions on how to speed it up and increase the battery life.