LG Gas Dryer

Hello, I have a LG Gas Dryer that I have to keep resetting the thermostat. At first it was just a every once in a while then went to after a couple of loads and now it’s tripping almost every load. Would I only need to replace the thermostat?
Thanks!!!

Anyone???