How I get 100 hz frequency in arduino mega 2560

U r correct sir, open and closing it is taking time. And I formatted my sd card. What will do.