Rooting or Flashing first?
Towelroot is one of the easiest roots out there. Install the app on the phone (make sure installing from unknown sources is enabled in settings → security), press the only button in the app and you should be rooted.

You can (and should) then install a root manager app like SuperSU to stop any random app being able to get root access.