Ranexa is a medicine used in combination with other medicines to treat angina pectoris, which is a chest pain or discomfort that you feel anywhere along the upper part of your body between your neck and upper abdomen, often brought on by exercise or too much activity.