This is actually a rather tricky question. I'll tell you what works for me but ultimately you'll have to engage in a little trial and error to see what works best for you.
Usually I try to keep my simple carbohydrates low (sugars, refined wheat products) and keep protein high. This means a lot of lean meat and very little in the way of sugary products (though I've been slipping recently on that, as my wife is pregnant and has been craving sweets so they've once again gained a foothold in the house).
However, right after a workout is the time to eat carbs! When you engage in any exercise that strains your muscles you will be using up glycogen reserves. Glycogen is effectively sugar and water stored in the muscles for quick energy. To replenish that you'll need carbohydrates, preferably complex carbohydrates, to satisfy your glycogen needs. Depending on your gender and muscles mass you'll need somewhere between 150 and 250 grams of carbohydrates to replenish your glycogen but how much you actually need depends on the severity of your workout. I generally just plan 250 for the day and make sure I eat about 100 grams after a workout.
So that works for me. I keep my calorie intake steady, 2200 kcals/day, but my exercise level varies throughout the week. My biggest exercise days are about 3800 kcals burned, while my off day(s) I burn barely over my BMR (~2000 kcals).
What you shouldn't do, and I harped on this earlier, is eat any really sugary items. My calories have not changed but since we've had some recent changes in my household I've been eating more sugars. I can entirely attribute 5 pounds of weight gain to that dietary change. Starting tomorrow I'll be reducing my sugar intake to 20 grams or less per day. I expect to see a drop. It was an interesting experiment but not one I'd like to repeat any time soon.