Open up your character screen and look under the character tab. Set the stat you want to lower to minus (remember the minimum is 10) and set whatever you want to raise to plus. Then look at your skills and train a skill that gets bonus from the stat you want to add and it'll take points out of the ones you have set to minus.
For example if you look at jumping and sprinting those receive bonus from DEX so if you want to raise your DEX you could run or jump. If you look at mining and woodcutting those receive bonus from STR and CON so you'll perform those actions. Same with INT and PSY from Cooking. There are hundreds of skills so just find the ones you feel like doing with the bonuses of the stats you're trying to raise.