Help!!! Motor dies when coming to a stop?

you set the idle in nutural or in drive should be set with car in drive