Buy a supply of mind runes and an air staff — the staff gives unlimited air runes, which keeps your costs down while you level. Open the spellbook from your taskbar, click the spell you want so it highlights, then click the monster you intend to train on. Every cast that hits grants experience.
Start on low-defence enemies near a bank so you can restock easily, and note that Old School RuneScape has changed the early magic experience considerably since this was written, with easier training methods now available.