The game is tough, but you can do some things:
Retreat from dungeons to hang onto more XP
Get better weapons
Spells deal fixed damage and don't miss, so you can use up your SP to take out enemies that are tougher than your weapons. Also put modifications into your gear, better than losing it!