If you want to build muscles, you need to set some goals and commit yourself to them. You have to motivate yourself to be stronger and fitter apart from following a healthy diet and an exercise regime.

You must maintain a food journal so that you can keep track of the amount of calories you are getting. Working out won’t result in muscle gain unless you are having the right amount of calories.
If you want to build muscles, you must do compound exercises such as squat, dead lift, row, press and chin-up. These exercises result in muscle gain.
You need to sleep well when you are doing a lot of exercises because your body needs adequate rest. Therefore, you must give yourself 8-9 hours of sleep.
You must increase your protein intake for building muscles. Protein is a great nutrient that stimulates the growth of muscles in our body. You should particularly consume animal proteins such as beef and egg as they are complete proteins containing all the amino acids.
After your workout, you need to have a good meal. You should have a healthy meal rich in protein and carbohydrate just after training.
These are some effective ways of building muscles.