ka problems

my motor starts turns over well , but some times u start it and it just dies, it idles low and dies, i think its the maf sensor,but idonno, to get to run and start properly as i turn the key and it starts i hit the troddle and rev it a bit , then it goes back to normal, it will idle at 500 rpm or less for a bit then when i drive it goes back to normal, wierd!
any suggestions??

iac valve could be dirty or clogged…or it could be your mafs…