Which of those would you like?
This is a more flexible method that allows you to install custom ROMs later.
Rooting usually requires a factory reset or can lead to data loss; back up all important files to an external SD card or PC.
Specialized versions like TWRP_3.0.2-0_SM-J320F.tar are specifically designed for this model.
Open on your computer and connect your phone via USB cable. The ID:COM box should turn blue or yellow.
Required for your PC to recognize the device.