When other treatments fail .
Are unavailable , opioids may be appropriate for treating headache if the patient can be monitored to prevent the development of chronic headache .
When other treatments fail or are unavailable , opioids may be appropriate for treating headache if the patient can be monitored to prevent the development of chronic headache .