You may only tee the ball up when you are on the teeing area,
hitting a tee shot. This is usually once per hole for each hole.
However, if you hit a ball out of bounds you must hit another shot
from where you hit the previous shot from, so you may tee the ball
up. Also, if you hit a tee shot and can't find the ball you must go
back to the tee and you can again tee it up.