Cialis after heart attack

I am a 50 yr. old male who has recently had a heart attack. Prior to this, I had been taking Cialis to prolong an erection during sex. My Dr. advised me to no longer use the Cialis. Is there any other medication that I can use for this?