We have a minimum, if the first derivate is $0$ and the second derivate is positive.
We have a maximum, if the first derivate is $0$ and the second derivate is negative.
We have an inflection point , if the second derivate is $0$ and the third derivate is non-zero.