Sample Rate

I want to know how to set the sampling rate in Arduino. I don't understand, how to do this