What if I have two dogs of different sizes?

If both dogs use the door, size for the larger dog.