It takes three days for a pet in Petz 5 to reach adulthood.
Once they are adults, they can breed and produce litters of up to four kittens or puppies. Crossbreeding is also possible, so pairing different breeds gives you crossbreed offspring.
The three days pass in-game, so keeping your pets fed, watered and played with throughout is what determines how healthy the adults turn out to be. Neglect during that window carries through.
If you are breeding, plan the pairing before the adults arrive rather than after. It is easy to end up with a litter you did not intend because two adults were simply left in the same room.