No one can stop their thoughts. It’s a wasted effort.
It’s important to become aware of your thinking, however meditation is more about a shift of attention from thinking, to recognising yourself as the space in which thinking arises.
You were there before any thought and remain after a thought passes.
Become aware of your beingness in this space, and breathe with this.