Find the critical numbers of the function g(y)= y-1/y^2-y+1

Find the critical numbers of the function g(y)= y-1/y2-y+1