2007 Hyundai Accent rpms jump when I stop

thank you for your reply. Going to change filter and fluid well whatever comes out of pan that is. Kinda excited to see if and chunks or metal shaving are in pan. I being a woman keep getting nickle and dime and no one so far has even suggested change fluid and filter out. I don.t have problem paying just want honesty. anyhow nervous that I’m gonna screw it up better me then them lol. Its my 2nd time doing so but last time just drained due to dealership said I didn’t have a filter only screen. Wrong so it will be first time taking pan off. So weird how out of blue will start the jerking I can drive on freeway for hour before it could start sometime it only 5 minutes. i don’t get it. so far they have changed spark plugs oil filter and oil and some kind of camshaft sensor and direct ignition coil going to use max life full synthetic ATF Valvoline its what i used last time wonder many its the fluid? THANKS SO MUCH 4 UR TIME.