Your sanity is represented by the small yellow meter below the health meter. Stat decreases, fights, and other negative events will reduce your sanity meter. Positive events, including stat increases, will fill the meter. If the sanity meter empties, you will lose control of your character.