My car, stopped running while i was driving and it wont restart. on 2001 Chrysler PT Cruiser

I was driving, and it shut off, it has also been idling funny when the ac is on

Asked by for the 2001 Chrysler PT Cruiser
2 answers
Check for broken/stripped timing belt.
check battery