Make the sentence formal: It is like slamming your finger in the window repeatedly, it feels great when it is over.
It's like slamming your finger in a window over, and over, it feels good when you stop!