Generally in equations, the atom will have a -ve or a +ve sign next to the number of electrons its gained or lost. Remember, if its positive, then its lost. If its negative, then its gained.
In more complex equations with polyatomic ions, the atoms that are stand alone (not bonded with other...