Ice Spear is one of Mabinogi's Advanced Magic spells, and unlocking it takes a bit of work. First, you need to collect all five of the Explorer's Pages.
Start by visiting the Magic Teacher in Dunbarton. With an ice wand equipped, talk to him about skills, and he'll ask if you want to learn Ice Spear. Say yes, and you'll receive the collection book. Then gather all five Explorer's Pages, which drop from certain monsters. After that, report back to the teacher in Dunbarton, and he'll send you to find the Ice Spear pages — five more in total.
The pages can be stubborn to find. Explorer's Page 3, for instance, is very rare in Exploration, and most people get it from a glowing monster, which appears when you drop a glowing statue in the Maiz or Karu Dungeon. The drop rate is low, and each page is worth about a mil. Good luck getting Ice Spear — it's a real grind, but worth it!