A 24-year-old man is brought to the emergency department after being found with shallow breathing and pinpoint pupils. Respiratory rate is 6 breaths/min, oxygen saturation 88 percent on room air and he responds only to painful stimuli. There are track marks on his arms. What is the most appropriate initial management?