We usually do not get training in mentorship when in school. It is the sort of thing that most of us learn the hard way - by making a lot of mistakes. Which is always helpful if you are willing to learn from them. But we do not have to reinvent the wheel, there are enough lessons learnt out there that we can use to our advantage.
Check out the articles linked here for some insightful lessons and tips that you can use to inspire your own practices:
1. https://science.sciencemag.org/content/356/6344/1302