You can do it in several different ways. I believe (could be wrong) that the most common for character stats is to give the object that is each character their own instance variables.
So create an object - name it Player (or whatever) then add variables to player for MaxHP curHP Attack Def Speed Crit.... etc
Then when player takes damage you would simply go "Player - subtract from curHP || damage