1. Elements = 0 Oxidation State (like H2 or O2)
2. Group 1 or 2 Metals get +1 ox or +2 ox respectively
3. H is +1 unless bound to a metal then it's -1
4. More Electronegative Atoms get their normal oxidation numbers (their group number minus 8, so a halogen gets -1 and oxygen would get -2)
5. Leave the last atom to balance out the overall charge. If it's a polyatomic ion and say the charge is -4 then the sum of all the ox states of each atom must equal -4. So if we have 4 atoms in a molecule with a charge of say -2 and we apply the rules above to get the ox states of three atoms the fourth atom would be X where -2 = sum of ox states of three atoms + X.