Problem with button

Hi,
I'm new in arduino and I'm developing a project on Max/MSP using one piezo electric film as vibration sensor. I have not problem with that it works fine. And at the same I'm trying to use a simple button to send a signal to the program when it is pressed. Here is the problem. I have use the circuit in the tutorials, I use a 10kOhm resistor conected to +5v in arduino. The problem is that time by time I receive a change of state from the button but I not touch it. It's like an erratic jump from the digital input.
Please do you have any suggestion? I appreciate any idea about it.
Thank you very much in advance

you should probably debounce the button. Try to google Arduino debounce.

Are you sure you're using the circuit from the tutorials? The Button tutorial uses a pull-down resistor (10Kohm from switch to GND), not a pull-up as you describe.

Thank you MikMo and thank you halley for your swift answers. In one hand debounce could be a solution, but not when you don't know when the next push will be.
Concerned the circuit I have taken it from the Arduino tutorial:

I will try it as you suggest.
Thank you again.

but not when you don't know when the next push will be

Code to debounce a button only needs about 50 milliseconds - that's faster than any human could push the button

Thank you trialex, I will try it now.