The goal of meditation is not to stop thoughts. Your mind will have thoughts; that's what minds do. So instead of resisting what's natural, simply observe the thoughts that come up for you without judging them. And then after you acknowledge your thoughts, see if you can visualize them drifting away, like clouds floating by in the sky.