A good starting point is to take your bodyweight and multiply it by 18, then consume that many calories per day. Of course of those calories, protein should be about 1 gram per pound of bodyweight. Doing this should get you gaining a pound or two a week. Adjust as necessary over the weeks.