You'll have a hard time gaining muscle and losing fat simultaneously. You can clean bulk which basically means gaining as little fat as possible along with muscle. But, you need to be in a calorie surplus to gain muscle, while in a calorie deficit to lose fat.

Are you natural? How long have you been training? What does your current workout look like?

Stats?
age
weight
current bf%