call it quits

[call it quits] {v. phr.}, {informal} 1. To decide to stop what you are doing; quit.

When Tom had painted half the garage, he called it quits.

2. To agree that each side in a fight is satisfied; stop fighting because a wrong has been paid back; say things are even.

Pete called Tom a bad name, and they fought till Tom gave Pete a bloody nose; then they called it quits.

3. To cultivate a habit no longer.

"Yes, I called it quits with cigarettes three years ago."