There are three main things they can ask you about mass defect and binding energy.
Firstly they might ask to work out binding energy of an atom, in that case subtract the sum of the components and the mass of the atom. Use this mass to work out binding energy E = mc^2 if mass is in kg or E = m*931.5 if mass in in amu.
Secondly they could give you an equation and asked the amount of energy released. In this case subtract the mass of the products before with the mass of the products after (The mass of the component ie protons, electrons, neutrons can be ignored as they should be the same on both side). Then sub into the respective energy formula
The third thing they can ask is to work out the ionisation energy. In this case you work out the wavelength when n(f) = infinity, which would make 1/n(f) = 0 and sub this wavelength into the formula E=hf to get ionisation energy