Curses come from completing the quest Temple of Senntisten. Finish it and the curse prayer book becomes available alongside the standard prayers.
The quest is mid-length and set in the Morytania area, so it is worth bringing supplies rather than wandering in underprepared.