Hey what’s up everyone , I have a Hyundai azera 2007 and while I was driving it started shaking really bad when idle ( foot on brake).

Couple mins later a blinking check engine light came on. I’m currently parked at family house , is it ok to drive about 15 mins back home? Do I take to mechanic or is this a fix I can do from home?