“If you can’t stand the heat, get out of the kitchen.”
Meaning: If you cannot handle the pressure that comes with a particular task, you need to stop doing it, because it will not get any easier.
This can be said to someone who keeps complaining, especially if they are annoying others and slowing the team down. The saying suggests that you should either stop complaining, or leave the job for those who can handle it. In other words, you are probably only protesting or struggling because the pressure is too much for you.