Once you’ve downloaded the Optifine.Jar, you’ll want to pop it in your mods folder, which you’ll find in your Minecraft file.
On the Optifine page, hit the preview button at the top of the page to find the latest version. Then you’ll want to download Optifine, which makes Minecraft look better and run faster, and also supports all manner of configurations, including texture packs and most importantly, in this instance, shaders. The next time you start up Minecraft, the Forge profile should be available to you, which you can select to run your shaders packs. Once you’ve downloaded Forge, run the installation process and make sure it’s located in your Minecraft folder. In order to get your shader packs up and running, you’ll want to start off by downloading the Forge if you haven’t played around with any sort of modding before, as this makes adding and installing mods a whole lot easier.