You don’t have to stop your thoughts, but you do have to relate to them clearly and sanely. A teaching that might help you do that is alternating sense awareness practice (ASAP). This is about including, in particular the five sense fields of touch, sight, hearing, smelling and tasting.
https://youtu.be/qEF6622JtCU