Sure, the RAM upgrade will help. Try scanning your laptop for viruses. Cut down on the programs that startup using msconfig by pressing Win + R and then typing msconfig. Try defragmenting your hard drive. If it is a SSD hard drive (super expensive) then DON'T! Try CCleaner.
What is ransomware and how do I protect my PC from WannaCry?