First, buy 8 mg of dilaudid online at 10 % off. Use of this drug is intended to lessen moderate to severe pain. The opioid (narcotic) analgesic medication class includes hydromorphone. It alters how your body perceives and reacts to pain by acting on the brain.