If you really dont care at all about a person doing/taking something you say "knock yourself out" as in to do/eat until you pass out (if you really want to).
to incapacitate or render oneself unconscious by means of physical, or mental, abuse or deprivation to one's own body.
"You are ridiculous. Knock yourself out now!"
"There is no way I can win this race. I might as well knock myself out!"
"I was about to kick that guy's ass for the way he was talking to my girlfriend, but he knocked himself out already."
It is said of the situation where a person has the bad luck to make contact with his testicles against an undefined surface or object, intentioned or not.
Given the nature of the word, it is more appropriate to design cases where the interaction is made with a moving object, for example, a ball.
Although it is extremely painful for the victim, it tends to be considerably funny to people who witness it.
Today in the baseball game the pitcher took a nutshot; the baseball hit him in the nuts.
Man, I just watched the funniest nutshot video ever.