Hello there,
Yesterday I bought d&d. But I don't understand this: if you want to do something, what do you have to get on the die.
Edit:
When I mean something, I mean crossing a river, killing an enemy, climbing a wall, etc..
For most things, you just tell the DM what you're trying to do, and he describes how it goes:
"I open the door."
"You see a dimly lit chamber beyond, about 20' x 40' there are a number of hobgoblins sitting around tables playing cards, they look up in surprise."
or
"I open the door"
"It must be locked or barred, it doesn't budge"
or
"I open the door"
"It seems to be stuck: make a STR check, DC 10"
That last one is the number you need to roll on the d20 after adding your STR mod. So if your STR is 14, you have a +2 mod, if you roll an 8 (8+2 =10) or better, you force the door open.
In combat, trying to hit an enemy is just about always rolled, you roll the d20, add your modifiers and tell the DM the result. He'll know the monsters AC which is the number you have to match to hit it.
The other major exception to the general rule above is spells. When you cast a spell, you just say you cast it, and the effects described happen.