fiqhsalatkhushuwaswas
The goal is not never to be distracted, which is out of reach and discouraging, but to come back to Allah each time one notices one's absence. A distracted prayer remains valid if its pillars and conditions are fulfilled; presence concerns its quality and fruit. What is lacking is completed by seeking forgiveness after the salam, by remembrance and by voluntary prayers.