This is an extremely basic question. You should know the basic rules of cutting and bulking. If you know this, then you can ask better detailed questions. Do some reasearch man.
Yes the board is for learning, but you should at least have some basice common knowledge about bodybuilding/powerlifting before posting.
Man, just eat the right ammounts of pro/carb/fat for your goal.
Weight train to keep your strength, and do enough cardio to lose fat but not muscle. Also get your sleep. This is very basic, but is not all.
keep it basic bro.....1.5 grams pro per lb bw, no carbs after 4, last food meal @ 7, low fat, lots of water, cardio in AM on emtpy stomach, etc......and heavy, basic compound movements during your weight training.