Lose focus after click on input

hello ,
I want to lose focus from input that clicked .
how can i do it?
thanks

Tap anywhere else. Same as normal user does.