Well, the book "Irish Country Cures" lists the following remedies:
For the headache: First you should use the following incantation. Caput Christi, oculus Isaie, frons nassium Noe, Labia lingua Salamonis, Collum Temathei, mens Benjamen, pectus Pauli, junctus Johannis, fides Abrache, Sanctus, Sanctus, Dominus Deus Sabaoth. This is sung every day about thy head against headache. After singing it, thou puttest they spittle in they palm and thou puttest it round they temples and on they occiput and thereat thou sayest they Pater Noster, thrice, and thou puttest a cross of thy spittle on the crown of they head and then thou makest this sign, U, on thy head.