I agree with the above poster. Your Dr knows best. I do know several people that have had stents and heart attacks and tmany of their Drs have said if you can walk up 2 flights of stairs briskly and not be out of breath then sex is safe. Do check with your Dr first though.
This is a legitimate question for your cardiologist, who knows about your condition and level of fitness and can weigh the risks.