Unity Editor Keeps Freezing

Every time I try to open a C# script, unity just stops working. I can click anything, it’s like it turns into a jpg image. Then when I click off of Unity, then I try to click back on, it doesn’t work. This has happened before, when I first started Unity with the “Roll a Ball” tutorial.

Computer Info:

Windows 7
Dell 2011 Laptop
I am Unity 5.5.1

Try to uninstall and reinstall visual studio,if visual studio is not installed try to uninstall unity and install the latest version 2017.1