Let $f$ be twice continuously differentiable, and $B$ be a Brownian motion. Using the transition density $p(t,x,y)=\frac{1}{\sqrt(2\pi t)}e^{-\frac{(x-y)^2)}{2t}}$ how can we prove that the stochastic process $$X_t = f(B_t)-\frac{1}{2}\int_{0}^{t}f''(B_s)ds $$ is a martingale.
I am stuck at this problem and don't know where to start. Could anyone give a help ?