There is a lot of information about overthinking on the web. Everything refers to the negative side and it is said that by overthinking you create problems that you do not have. But if we look at it positively, we realize it is the ability to solve problems. So, medicine for overthinking is problem solving.
P.S. There are lots of people and companies with problems to solve