How do I get my script to open

I made a script for movement controls on Unity and when I try to open it it says its not supported

Wtf… your are trying to open the script with PAINT…

Follow this tutorial to link Unity and Visual Studio for scripting

Bye