Are you finding an integral? A derivative? Or something else?
Integrating is not the same as deriving and neither are the same as simplifying.
Whatever the case, most likely the easiest way to solve your problem will be to simplify it first. To do this, multiply top and bottom by the conjugate of the bottom.
Does this help?