How to stop my dog jumping on guests
Ignore and Turn.
Dogs jump for attention. If you push them down or yell, that IS attention. Turn your back and ignore them until all four paws are on the floor. Then praise.
Consistency
Guests must follow the rules too. Ask them to turn their backs if the dog involves.