Just add a miller cap as in a two stage opamp, this will introduce a zero since you now create another path for the signal to reach the output.Then try moving this zero to the right half if needed to improve your phase margin.
The resistor nullfies the zero if its sized such that it cancels out the zero created by the miller cap. The resistor can also be sized to move the zero to the right half plane to increase the phase margin.