Weeks 1 and 2
The strict part
This is the hardest stretch. Confinement is tightest, your dog is still adjusting, and you're probably re-reading the discharge papers more than once. The mat goes down now and stays there, same spot, same time of day if you can manage it. That's the whole routine, there's nothing else to get right.
Follow your vet's instructions for activity, medication and incision care. The routine sits around that plan.