It's the same with English sentence"It's enough! ". Also, you can repeat it twice like "够了够了" to emphasize the situation, using a polite tone when your friends give you something(food, money, presents...) to explain they are kindness or warmth, using a short/fast tone when you was fed up with something or somebody(it's very unpolite).