The best manager I ever had motivated me to perform well was just by being human. That method worked because just by showing that you're human and that everybody makes mistakes because I've had managers that were intolerant of newbie mistakes and newbie things and that put me off from the job. But the best manager I had assured me whenever there was something that was not working well or something not going well, that it's just part of the process of learning.