Setting focus to an input text

How do you set focus to an input text?