A 45-year-old man presents to the Emergency Department with a sudden onset, excruciating headache behind his right eye. It started 30 minutes ago. He describes the pain as 10/10 and is extremely agitated. On examination, he has right-sided ptosis, miosis, and excessive lacrimation. What is the most appropriate immediate treatment?