You have to want it. Enthusiasm is a huge part of this. Condition your mind to give your best in either situation. Know that you must take pride in your work. Avoid laziness. Believe in yourself and even if you don’t love what you do, love your dedication to what you do.