how to control emotions and remain attentive ?

Mind distracted ? How to controk mind ?