Assuming you mean The Sims 3 or The Sims 4 (since you specified "not 2"), here are the essential cheats for both games.
Type cheats → Press Enter.
testingcheats truetestingcheatsenabled truemotherlode – +50,000 Simoleonskaching / rosebud – +1,000 SimoleonsfreeRealEstate on – All lots free (use in world view)fillmotive motive_<need> – Fill specific need (Hunger, Bladder, Energy, Fun, Social, Hygiene)sims.give_satisfaction_points 5000 – Reward Store pointscas.fulleditmode – Full CAS edit (Shift+click Sim → "Modify in CAS")motherlode / kaching – Moneytestingcheatsenabled true → Shift-click objects/Sims for: Trigger Age Transition, Edit in CAS, Make Happy, Add to Family, Delete.buydebug on – Access debug items (spawners, tomb objects, hidden decor).rosebud (repeat with ; for millions), move_objects on.
For expansion-specific cheats (Get to Work, Seasons, etc.), check The Sims Wiki or Carl's Sims Guides.