Noticing your thoughts and working with distraction is a large part of meditation. The mind does not stop turning because we sit on the mat.
The good news is that if you can notice thoughts and distraction, you are meditating. We learn how to work with thoughts in a kind way, and with time make them our friend.
Make friends with your mind.