The problem of maximizing or minimizing the time spent by a stochastic process in an interval is considered for autoregressive processes. The control applied to the system is equal to 0, $b$ or $-b$. Particular cases are considered, and the appropriate integral equations are solved explicitly, either exactly or approximately.