While pulling into a parking space, I heard my engine racing. Immediately, I felt the car lurch forward. To avoid misapplying my foot to the gas pedal, I withdrew both my feet to the floor, next to the seat. The car continued forward at a fast rate. The car stopped going forward after it struck s building. However, the tires kept spinning, especially the front left tire. The engine ran briefly, until it stopped spontaneously. A few days previously, while driving at about 40 miles per hour on level ground, I felt the gas pedal to be unresponsive. Then it quickly reengaged. I mentioned this to my husband and he suggested that there may have been an air bubble in the fuel line. I don't know if the two events are related. Also, possibly related, I stopped using cruise control, because the car would surge and lapse during use. My insurance company is pursuing spontaneous acceleration. I visited my primary care physician the afternoon of the accident and was diagnosed with whiplash.