I need to reformat my computer (Delete everything on it I wana start fresh again

) But my cd is broken I own
Windows Vista Home Premium 32 bit...
I heard that you could press F10 when the computer starts up and it will reformat your hard drive..
Is this true cause some people have told me to press certain keys to fix an issue and like an idiot i listened and my computer crashed in the past.
So I wana make sure this is true before I do it and if not how can I reformat and delete everything on my computer?
Your signature has been erased by a mod - no affiliate links thanks