Engine has uncontrolled revving when starting the car. Scary on 2005 BMW 545i

I haven't driven my car in a few months and after starting the car, the engine revs uncontrolled up to 6000 rpm and there seems to be a smell coming from the engine. Any Advice?

Asked by for the 2005 BMW 545i
Have it towed to a shop before something gets damaged