A medical composition containing acteoside and isoacteoside is capable of inhibiting the generation, accumulation or concentration of amyloid β peptide, and can be therefore used to prevent or treat amyloid β peptide related diseases or conditions. The ratio of the weight of the isoacteoside to that of the acteoside ranges from 4:1 to 1:4.