You can’t change your sim’s traits unless you use the re-traiting potion or cheats to achieve this option. At times, CAS mode also doesn’t allow you to change traits in Story mode. If you’re in the Story mode, then you have to answer a set of questions, and based on that, you can change the sim’s traits or use cheats too.