Stability Results for a Class of Differential Equation and Application in Medicine