Endoscopic sphenopalatine artery ligation or diathermy