Account activation

How so I set it up so a person gets an email to activate there account before they can use it