Varies. Depends on your motivation and your requirements at your job. If lifting is involved, most recommend 6 weeks. If not, it really is up to you as to when you return to work. In our experience, the minimum is 7 days or so. Might produce pain but will not damage the surgery outcome.
Varies. Recover time will vary depending on many factors including age, general health of the patient, infection control, blood sugar control, the exact type of procedure, and post-operative and follow up care. Discuss it with your surgeon and get their opinion as to what they feel is a reasonable recovery time for you.