Is this correct grammar?
My teacher taught me what kind of work should be done if you want to get on in all aspects of your work.
What does get on mean here?
Yes. It's grammatical.
In this example, get on means
verb [INTRANSITIVE] BRITISH to be successful in life or at work He is prepared to do anything in order to get on.