There is a hole in my drywall from a doorknob repeatedly hitting it, is there a straightforward way to fix it?
Depending on the size of the hole, there are different methods to fix.
Small holes - As @Oscilatingcretin says just some spackle, sand, and paint you are done.
Medium holes - A fist size hole or bigger is harder. Cleanup the hole area. Then take one or more more pieces of strapping and attach to existing wall to serve as foundation for the replacement piece of drywall. Cut replacement piece of drywall and fit to opening, attach to strapping installed previously. Then just fill in the gaps and screws with mud, sand, and paint.
Here's a diagram to help to visualize, let's say the hole is the wall is around 6" by 6":
Larger holes - Most likely you will have to find the nearest stud to the left and right and make the existing hole bigger so that the new piece of drywall can be attached directly to the stud. For the top and bottom, you will have to cut some strapping or framing so the the replacement piece can be secured to the top and bottom as well, otherwise the seem will crack. Once the framing is in place, cut the replacement piece and secure to studs and new framing. Tape, mud and sand around the edges of your new piece. Paint. If done well and the mud is feathered out, one will not notice the replacement piece of drywall.
Here's a diagram to help to visualize, lets say the hole is 12" by 12":
For holes larger than that, probably best to replace the entire wall.
While it's not as attractive as fixing the wall, you can make the hole go away (if it's small) and prevent new ones with a wall protector like this one from Canadian Tire (doubtless equivalents exist where you live.) It's just a white circle of plastic, 3" across. The back is sticky; you stick it to the wall and you're done. $2.99. I did this for an instant fix in two places and I'll get around to the actual repair thing later.
spackle if it's a small hole. a drywall repair kit if it's a big hole. after you fix it, a wall-mounted door stopper will keep it from happening again
In addition to the other answers, you can also get a self-adhesive aluminum patch which you stick on. It is thin enough that you just stick and then mud. It's more expensive than any other method, but maybe less work, depending on the situation and your skill level.