My laptop freezes when i try using internet

Please help me with my prob.my laptop seems fine when im using it without internet.but when I open my browsers after a few seconds it will freeze so I have to restart my laptop again.I dont know what seems to be the problem.