How I get 100 hz frequency in arduino mega 2560

I Used on delay function, but I got only 10 samples per second.