I once had ten steel nails through my bones.
You can have a second operation after one year, and it is normal not to try to lose weight for a long time.
Don't do strenuous exercise to recover, but it is ok to do it properly.
Those steel things grew up slowly when they were dismantled. When the bone grew out, my nerves ached and I couldn't walk for a while.
I hope my answer will help you a little, but my answer is definitely not very accurate. You'd better listen to the doctor.