How can the loop be stopped after one cycle?

Thanks for the advice GoForSmoke. I'm not that electro savvy . I'm thinking best pay someome for a programm.