The invention belongs to the medication technical field, which discloses the medicine and the preparation method for treating the coronary heart disease and miocardial infarction. The medicine is mainly prepared from ginseng root, dwarf lilyturf tuber, Chinese magnoliavine fruit, radix astragali and Chinese angelica, or ginseng root, dwarf lilyturf tuber, Chinese magnoliavine fruit, radix astragali, Chinese angelica, cassia twig and liquorice, or ginseng root, dwarf lilyturf tuber, Chinese magnoliavine fruit, radix astragali, Chinese angelica, cassia twig, liquorice, danshen root, red peony root, radix notoginseng and safflower, according to certain ratios of weights. The invention can be made to any type of medicament that can be accepted by the clinic or pharmacology, which is the good quality oral preparation. The medicine has effects of Qi-replenishing, Yin-nourishing and pulse-invigorating and blood circulation activating to dissipate blood stasis and lipid lowing, which can be used to curing the chest distress, hard breathe, heart-throb, angina and arrhythmia caused by coronary heart disease and miocardial infarction, the recovery period of the cerebral thrombosis and the sequelae of the cerebral thrombosis, the effects are obvious.