afflict / inflict
Who suffers the harm versus who deals it.
Afflict takes the sufferer as its object: disease, grief, or trouble afflicts a person. Inflict takes the harm as its object and usually needs on: someone inflicts a wound, a penalty, or damage on someone else. After afflicted, both with and by are used; with is the usual partner for a condition (afflicted with arthritis), by for an agent or event (afflicted by drought).
Examples
UseMeasles afflicted the village.
UseThe court inflicted a fine on the company.
AvoidThe court afflicted a fine on the company.
UseHe was afflicted with insomnia.
UseThe region was afflicted by floods.