Keys

sometimes when i shut the car keys dont come out , then i wait few minutes and i hear a click then i can turn key off

Make model and year of car? Do you mean come out of ignition or door lock? Does the key turn in the lock OK?