Sometimes a poorly performing team member was just a bad hiring choice. You politely let them go and work to improve your hiring process. Sometimes the person is struggling for reasons outside work, so you try to find the right supports necessary. But most often, in my experience poor performance is about the worker's environment (culture, process, behaviors, projects), and those are all things managers are supposed to be monitoring and improving.