How do you stop a dog from jumping?

A person can stop their dog from jumping by taking them to a trainer. When a dog jumps, the owner can loudly say "no" to the dog and put their paws on the ground.