The trick is not to fight your mind when it wanders. Instead, once you notice that your attention has drifted, gently bring it back without criticising yourself. You’re likely to have to do this multiple times during your practice – possibly every few seconds, depending on how quickly you notice that it’s happened. And that is totally fine. The very fact that you noticed that your mind has wandered means that you’re doing it right.