Where to start and where to go from there?

Yes, I'm using the servo library, the servo sweep sketch to be exact. My problem is that I need to sweep only once from start = 0 to 180 and then back to 0 on command of a push button. I just can't seem to get it to work, but then again, I don't know what I'm doing... lol!