Mind is a very powerful organ in body.
You will need to get over the fear by facing it.
You can get ECG done and get basic checkup.
Once you get to know that things are normal you can let go the fear.
Last resort would be getting 2decho done and get a cardiologist consult.
Regarding exercise regime... Anything in excess is always harmful. Moderation is key. Don't stop working out but don't overdo. For exercise also you can seek expert opinion
Next Steps
Basic check up by physician
if necessary cardio consult
If still you can't get over it then consult a psychiatrist.
Health Tips
Although everyone is suggesting psychiatrist visit first. But I would advise physician visit first so that you can get to know about your heart conditions.