Is this something better left to a trained mechanic?

It cuts off and then has trouble restarting after it get warmed up. Could it be something else?