For example: stomach medicine, effective medicine, good medicine.
Read やく (sound reading) after combining words.
For example: traditional Chinese medicine (やくひん) and traditional Chinese medicine (TCM).
They have different pronunciations and meanings.