my GE dryer wont stay running it use to run as long as im holding the start but

My dryer started shuting off when I let go of the start button,but if I held it there for 30 seconds or so it would stay running but bow it will start for a couple seconds and shut off.Does anybody know what the problem could be and how to fix it?