Yeah, foot surgeries blow.
Had both of my feet completely reconstructed when I was 17. Cut and repaired all metatarsals (growth problem from youth, said I'd get stress fractures later in life if not corrected). Took 8 screws and 7 pins total. Getting the pins pulled from the bones by pliers was the worst part. I was literally (really) passing out as he was doing that. The nurses were putting cold water on my head and fanning me.
I didn't walk for 4 months after the first one. Learned to walk and immediately had to get the other foot done, then had to learn how to walk again. So, about a year without walking really. 2 months of keeping it elevated in bed, then crutches and walking boots. They couldn't do both at once because it would require me being in a wheel chair and then when learning to put weight on the foot again, I wouldn't have a strong foot to lean on.
Was not fun but taught me some life lessons.
Then I had two more foot surgeries a few years back to remove shards of glass in my foot.
Hope your recovery goes smoothly. Be careful with the pain killers. Serious. (lesson learned)
Listen to the doctor. You don't want to put pressure on the bone where the screw is before it's fully healed and strong enough.
Also, be careful with crutches and the boot on stairs. Don't fall down like I did!
You should change your screen name to "Deadfoot".