Stochastic process and application to control theory