Do not smoke
tobacco has been shown to interfere with bony healing-if you smoke, it's time to quit.
Follow your treating doc's activity restrictions: early on you may not be allowed to put any weight on it; as you heal and you advance weight bearing this will actually stimulate the bone to heal (wait until doc clears you). If healing is delayed, a bone stimulator can help. Talk to your treating doc.