$$f(x)=\frac 1{\sigma \sqrt{2\pi}}e^{-\frac{(x-\mu)^2}{2\sigma^2}}$$
To simplify things, let $k=\frac 1{\sigma \sqrt{2\pi}}$
$$f'(x)=k\frac{de^{-\frac{(x-\mu)^2}{2\sigma^2}}}{d(-\frac{(x-\mu)^2}{2\sigma^2})}*\frac{d(-\frac{(x-\mu)^2}{2\sigma^2})}{dx} $$
We performed chain rule in the above differentiation, by firstly treating the power of $e$ as a whole variable, and differentiate $e^{-\frac{(x-\mu)^2}{2\sigma^2}}$ to give itself (because the derivative of $e^{f(x)}$ with respect to $f(x)$ is just itself). Then we multiply it with the derivative of the quadratic function with respect to $x$. So we will get
$$f'(x)= k\frac{-2(x-\mu)}{2\sigma^2}e^{-\frac{(x-\mu)^2}{2\sigma^2}}$$
Now the second derivative of the function is,
$$f''(x)=\frac{-1}{\sigma^3 \sqrt{2\pi}} e^{-\frac{(x-\mu)^2}{2\sigma^2}} +\frac{(\mu-x)^2}{\sigma^5 \sqrt{2\pi}}e^{-\frac{(x-\mu)^2}{2\sigma^2}} $$
Can you try differentiating it using chain rule, like what I did above, and product rule?
After that, it is easy to solve:
$f''(x)=0$ iff
$$(\mu -x)^2 -\sigma^2=0$$
$$x=\mu \pm \sigma$$