The tutorial has already given the detailed steps for the calculation of defect formation energy.
Have you go through the tutorial following the steps one by one to an exercise?
What you need to do is replace the GaAs compound to your case BaZrS3. The difference is that you want to consider 12 types of defect. At least, you can follow the tutorial to calculate the defect formation energy of vacancy defects such as V_Ba, V_Zr, and V_S for your case. The difficulty may be the choice of chemical potentials for the Ba, Zr, and S, which are limited in a range because of thermodynamic conditions. You have to determine the range of chemical potential of Ba, Zr, and S.