Hi Asghar! Thank you for your interest in Twine!
Here's how I would go about it.
: Start
<<set $mentalStability = 0>>
There is a book of arcane studies.
Read the [[book][$mentalStability -= 10]]
Touch the [[book][$mentalStability -= 5]]
Absolutely don't touch the [[book]]
: book
<<if $mentalStability < -5>>
You are stark raving mad.
<<else if $mentalStability < 0>>
You are going mad.
<<else>>
You are fine.
<<endif>>
OR
You can link to different passages, too, change the variable within the passage, and join up after. I prefer changing the variable in the link because the connection to the action is more clear.
Note that <<else if>> is appropriate for the Sugarcane/Jonah story formats, but <<elseif>> is necessary for Sugarcube.
I hope this helps. Happy Twining!