Pay attention to your puppy while you're waiting for him to do his business. Sometimes, especially in the beginning, you might have to wait a little while before your puppy gets around to using the toilet. You can do some exercises or some light gardening, but keep on eye on your puppy because you'll want to take him back in as soon as he's finished.
A dog learns from interactions it has with its environment. This can be through classical conditioning, where it forms an association between two stimuli; non-associative learning, where its behavior is modified through habituation or sensitisation; and operant conditioning, where it forms an association between an antecedent and its consequence.
A training class is not there to train your dog. Its purpose is to teach you to train your dog so you will need to be committed to train your dog for short sessions (5 minutes) several times a day rather than just simply turn up for classes! This little bit of training everyday will be repaid with a lifetime of living with a well behaved dog. You will also learn to avoid problems before they begin as well as receive help to overcome any that you already have with your dog.