Yeah, I'll throw an explanation in a little longer form.
1st Level: Max Hit Points. Hit Die + Constitution Bonus. For this example, let's say you have a CON bonus of +2.
So at 1st level, you have 10 HP.
2nd level: you have your previous 10 HP, then add 1d8+2. If you roll a 6, you gain 8 more HP with bonus. 2nd level HP: 18.
Now as a bonus, if your Constitution goes up enough to increase your bonus is RETROACTIVE for all previous hit dice.
And because the question is asked, this retro-activity does NOT apply to Skill points if your Intelligence increases.
Another little tidbit, read up on the "Favored Class" bonus for leveling.