How can I add default value?

I want to know how can I add a default value for a field type text box?