The Na and O both are not balanced, so balanced equation by hit and trial method will be:
We find that the Na on LHS is only 1 and on RHS is 2 , whereas oxygen on LHS is 2 and RHS is 1, hence we put 2 in RHS and 4 Na of LHS , so as to balance the equation