How did i do to get an input been always focus

So i have one input in the screen and i want the input dont lose the focus or after finish some function gain the focus thanks