A dog's age is less important than its individual needs, training, and temperament. Consider whether it can be left alone, needs walks or feeding, and is comfortable with strangers.
Choose a babysitter who is comfortable with dogs. If unsure, consult your veterinarian or a professional trainer.