how to do a one time task in arduino ????

Doing a break inside loop(); isn't the best way to do a one-time task. Paste the content of the loop() function inside setup(), after all declarations you have, then delete the content of loop();

PS: edit the subject of your topic to something more problem-related like "how to do a one time task" or something

Cheers