To resist something is to fight against it.
He resisted the treatment at the hospital.
Example picture