when i turn off my car it keeps sputtering

its called dieseling I don't think it hurts the car mine does it once in awhile also