To determine local maxima and minima, first find the first derivative and set it equal to zero to find critical points. Then, use the second derivative to classify the critical points. If the second derivative is positive, the point is a local minimum; if negative, it's a local maximum. If it's zero, further testing is required.