nothing happens. it just means there's something wrong with the engine somewhere. The car is never ment to idle that high.
Obviously when you start the car it will rev high like that, but after it has warmed up it should drop down between 500-700rpms.