Typically you want to spend the points on the main stat of your class. Each class gets its own allocation of stat points so you won't be wasting them if you spend stats in say DEX on Archer and STR on Lancer as they're totally separate.