Treatment of thunderclap headaches depends on the underlying cause. In cases of SAH, immediate treatment is necessary to prevent further bleeding and reduce the risk of complications. Treatment may involve surgery to repair the bleeding blood vessel or coiling to block the flow of blood to the affected area. In cases of CVST or RCVS, medications may be used to reduce inflammation and prevent further complications. For other underlying causes, treatment may involve medications or other therapies.