Owners learn from a dog trainer how to educate their pets to heed their directions. Additionally, trainers may assist pet owners in preventing problems such as accidents on furniture, barking in the middle of the night, or peeing in unsanitary areas with their animals. It is common for them to deal with dogs who are energetic, afraid, or worried while they are not with their owners. For example, some dog trainers specialize in working with a certain type of dog, while others just focus on obedience training.