“It goes like this!”
Formatting is pretty universal I’m not going to get into details about exact formatting, but a good simple breakdown can be found at: scripped.com – screenplay_basics
Both have hot keys that make screenwriting simple and everything is formatted for you. Both also have a budgeting and scheduling suite to go along with them as well.
A plethora of screenplay examples of can be found at Script-O-Rama I recommend reading a few in your genre choice before you begin writing.
If you want more details about formatting I recommend the “Screenwriters Bible”,
or the always-good time series “Screenwriting for Dummies”,
you can get both used on Amazon for a few bucks or check out these web sites: