Try uninstalling optifine.
If that doesn't work, follow the steps below:
First, backup your servers and worlds.
Next, try deleting the .minecraft folder.
(Remember, backup your worlds first!!!!)
You can find .minecraft under C:\Users\your username here\AppData\Roaming