I'm not an expert by any means but when I've needed to thicken polishes in the past I've left them out for a while and have a fan going to help accelerate the process.
I followed the orly tutorial found here https://orlybeauty.com/blogs/news/how-to-thicken-nail-polish-for-stamping
Hopefully this helps!