There is nothing inherently wrong with telling your dog “no,” except that it doesn’t give him enough information. Instead of telling your dog “no,” tell him what you want him to do. Dogs don’t generalize well, so if your dog jumps up on someone to say hello and you say no, he may jump higher or he may jump to the left side instead of the right. A better alternative would be to ask him to “sit.” Tell him what you want him to do in order to avoid confusion.
Unless you plan to keep your dog outdoors--and few of us do because it's not recommended--you'll need to teach your dog where to eliminate. Therefore, house training (also called housebreaking or potty training) is one of the first things you need to work on with your dog. Crate training can be a very helpful part of the training process. This includes house training as well as many other areas of training: