To build muscle you need correct training. Your routine should absolutely consist of a full-body workout where each body part is worked once a week minimum and certainly no more than twice. Your routine should have made up large of compound movements with occasional a few additional exercises for good measure.
It's important that your routine be set up in such a way that during the week each muscle part has plenty of time to recuperate. Do not work the biceps two two days running, for example. Spread things out as much as you can.
Varying your exercises is also important. For instance, a slightly larger or narrows stance in squats or grip in bench press can help to hit the muscles at a slightly different angle and keep them growing. An unchanging routine will soon become stale after several weeks and gains will stop without changes are made.
Take plenty of rest. You have overloaded your system with calories for a reason: so they will be used for growth. They'll do no good whatever if you eat your 500 calories surplus then go jogging or playing basketball, burning them off.
Okay, so we now know the mechanics of building muscle, but exercise goes hand in hand with a diet. The diet that is suitable for anyone wishing to really seriously build muscle is rather impressive by any standards.
When it comes to packing on pounds of pure, unadulterated muscle, diet is the single most important part of your overall body building program. You can workout all you want, but if your diet is not in check, you will never achieve the physique of your dreams.
The body rests heavily on nutrients from the foods and supplements that you consume to help create an environment conducive to huge gains. Although there are an infinite number of choices out there, a select few muscle-builders come up time and time again on every true bodybuilder's shopping list.
So if your goal is to pack pounds of pure muscle onto your frame, you can not be "empty" calories that do nothing but add mass to your waistline. You need to carefully select the right foods and supplements and incorporate them into your daily diet.