Some time back a new manager asked me what is the secret for managing people. As a technical guy, he felt that managing his team created nothing but headaches. His new team members were slow and he could do the work faster than explaining what needs to be done. He understood that he needed to delegate the work for the company to scale but did not know how to handle it.
This is a common issue in the Tech industry where as a reward, someone is promoted to be a manager but not given any tools or trainings to help them. There are lot of good training programs, books and blogs to help you become a better “manager” but it boils down to few basic things
If you can’t respect or have empathy for your team, you cannot empower them and you will Fail as a manager.
Learn to respect your team members, feel their pain and empower them to solve the problems, you are entrusted with.
The rest is details which can be found on the internet like wiki hows