There are no bad ones - just untrained ones
Fortunately, most dogs just need a little patience and understanding -- and some training. And most cats just need a few modifications in their routines.
The first step is to identify the behavior problem and make sure there is not a physical or medical reason for it. For example, if your cat suddenly refuses to use the litterbox, it could have a medical condition that you'll need a veterinarian to diagnose.
Other problems may not require medical attention and can be solved easily by you, such as (for dogs) not coming when called, constant barking, and separation anxiety. For cats, a common behavior problem is scratching furniture. It is important to remember as you address these problems that punishment doesn't work.
If you cannot find a solution to your animal behavior or training question, please consult your local humane society or animal shelter. They have consultants available who can help correct your pet's behavior and restore your loving relationship with your companion animal.