You fix it by applying compound with a putty knife, then use aerosol spray texture to match the texture. Or if it is a small area, you might be able to match the texture by applying it with a sponge.
How to train the puppy, I don't know. Ask at a pet shop.