This will activate the Recovery Mode and from here you can format and install a new copy of OS X.

However, not all Macs are capable of doing that, we have no details about your Mac, but there is information available at http://www.apple.com/osx/recovery/ that you should read

BEFORE you do any of that though, make sure that you have a COMPLETE BACKUP of all your important data.
Documents, pictures, music, etc.

P