Meditation is not a lack of thoughts, it is rarely possible to achieve an empty mind. Thought will come and go – they have a life of their own. Mindfulness is learning to accept this fact and be with them, without attending immediately to them.
With practice, this becomes easier. You don’t need to worry that your thoughts steal your attention – it is totally fine. The majority of people go through it as they start. Practice compassion and understanding towards yourself – this is what mindfulness training is. It is not silencing your mind. Remember this.