first thing, you need to know how many calories your body burns on a daily basis, why? because without knowing that you can't even begin to figure out how many calories you need to eat to lose/gain or do whatever
this formula will give you your basal metabolic rate, which is basically a measure of the amount of calories your body would burn if you stayed in bed all day and did nothing
Men: BMR = 66 + ( 6.23 x weight in pounds ) + ( 12.7 x height in inches ) - ( 6.8 x age in year )
once you have that number, you can multiply it by an activity number to figure out your daily caloric expenditure, be honest here as this is the very cornerstone of your diet, if you are between two of the below activity levels then just multiply by a number in between them
To determine your total daily calorie needs, multiply your BMR by the appropriate activity factor, as follows:
If you are sedentary (little or no exercise) : Calorie-Calculation = BMR x 1.2
If you are lightly active (light exercise/sports 1-3 days/week) : Calorie-Calculation = BMR x 1.375
If you are moderatetely active (moderate exercise/sports 3-5 days/week) : Calorie-Calculation = BMR x 1.55
If you are very active (hard exercise/sports 6-7 days a week) : Calorie-Calculation = BMR x 1.725
If you are extra active (very hard exercise/sports & physical job or 2x training) : Calorie-Calculation = BMR x 1.9
Once you figure out this number, post it and we'll start helping you with your diet