Sick dogs need a lot of sleep and rest.
Other Sick dogs are more capable of exercise, but be aware that sick dogs have weakened immune systems, and overexertion could make your dog's condition worse.
Focus on low-energy activities, and contact your veterinarian if your dog seems to be struggling.