I need to know how i can make my form input box secure, because I've heard of entering something which will then delette your site

I only have one input box so it should be a quick task.
I also need to know how i can restrict characters like @-)("£$%^&*( etc etc. I only want letters & numbers to be entered. Thanks.