Two possibilities: First, your oven may be hotter than it should be. Home ovens can vary in temperature by as much as fifty degrees Fahrenheit, which will cause baked goods to burn. You can check this by purchasing a low-priced oven thermometer in a department store or kitchen center. Put it in your oven, turn it on to whatever temperature you want to use, and check back in ten minutes to see what your oven temperature really is. Repeat for different temperatures and move your thermometer around to different places in the oven. You'll learn a great deal about your oven in a very short time.
The other possibility is that you are using a cakepan that is too thin. Try switching to a heavier, sturdier pan that is not black in color. Heavier, light-colored or glass pans heat up more slowly, and allow your cake to bake more evenly.