painful medical problem