I personally just cast any spell i wanted leveled up every time i got into a random encounter. The way spells level on that game is rough though. So i'd strongly suggest picking favorites and just ignoring the rest.