For continued lagging/freezing make sure you have cleaned out your temp files and cookies, Go to start, accessories,
system tools, Disk Cleanup. this will clean out temp files.
Run registry cleaner, this is the most likely cause of lagging when not Internet lagging.
Any time you make a change to any of your computers settings and surfing online, they are stored and updated in the registry.Over time,the registry can grow to enormous proportions and full of junk and errors.So if you run a program,it will take a long time to required registry file and sometimes it cant find its registry files since regsitry errors and then it has to sit there.So your computer will freeze.
you could also try running malwarebytes anti-malware, to rule out any malware that could of got in.
remove old files that you no longer need or use, also if you keep a lot of photos on your computer, put them on disc, this can use up a lot of your computers storage space.
once you have done this open defrag, this is under Start,accessories,system tools, Disk Defragmenter.
As a final resort, a system recovery might be required ,especially if on an old computer.