How can I use HTML with the mail script?

Does anyone know because when i do the html code and then send the script the code just shows up with the email