Distributor misfiring

It just started happening out of the blue, I drove about 28 miles to see a friend and stopped at a taco bell to get lunch and as soon as I started it up it went funny. It started riding rough, jumping and pulling whenever I stopped to long.