Insert the computer's original DVD, restart with the C key held down, and perform an Erase & Restore. If you're doing this because you want to sell or give away the computer, throw away all files which may contain sensitive data and securely empty the Trash first, and include the DVD with it.
If you're using a MacBook Air, use its original thumbdrive instead of a DVD, and restart with the Option key held down.
This site contains user submitted content, comments and opinions and is for informational purposes only.
Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site.