Basic Programming Question

So, when the PB button is pressed, you want the LED to go on then off, once only.
But, if you let go of the PB switch and push it again, do you what the LED to sequence again?