Oxygen
Has a oxidation number of -2 unless combined with fluorine, then it has a charge of +1 or +2.
When it is in ANY peroxide it has a charge of -1
Peroxide
Any compound with an oxygen-oxygen single bond, each with a charge of -1
Hydrogen
Mostly +1, unless combined with ONLY a METAL then it is -1
This is called a metal hydride
The oxidation state of any free element is
Zero