Smoking should be avoided for at least a few weeks before and after surgery, as it can impair the healing process and increase the risk of complications.