You can do it.
If you pay attention to rehab and lifestyle chages you will be shooting again soon, I too had a heart attack in 2006 then again in 2010.
Started shooting again in 2011 and have been shooting USPSA ever since.
Prayers for you to return to the range quickly and safely