If what your saying is , if you don't masturbate on a daily basis you get chest pains. Then what your experiencing may be a compulsive behavior associated to the masturbating. So if you don't masturbate, or try to refrain from it, you experience an anxiety or panic attack. Maybe also a feeling of death will come to you if you don't masturbate. Which would explain the chest pain or racing heart that feels like it's going to explode out of your chest. So because of this, you change your daily activities to accommodate the compulsive behavior, and it has begun to wreak havoc on your life. A compulsive behavior is not uncommon and manifests itself in many forms. If the person doesn't follow a certain order or pattern then they get an overwhelming feeling that something bad will happen to them. If I am correct, the Doctor can prescribe medications to help you overcome your compulsive need to masturbate. You should be masturbating for your pleasure and when it is convenient and not as a matter of life or death. Help is out there and it is curable.