If you need to consume 3500 cal a day to maintain your body weight, Then split that up as evenly as possible for your five to six meals.

Eg 50g protein
90g carbs
15g fat
=680cal x 5 meals =3400 cal/day

This is just an example? you need to figure out what your maintenance cal are? that's when you eat constantly but neither gain or loose weight , then add up your meals throughout the day
and that's how many cal you need to maintain your weight.

If you want to increase your weight , you increase your cal, if you want to loose weight then you decrease your cal.

Protein 1g = 4 cal
Carbs 1g = 4 cal
fat 1g = 8 cal