The answer to every question in the universe can be found in the Bible.
How does God chastise us?
God allows the devil to test us so that Jesus and the devil can duly summon each soul to spend eternity in Heaven or hell in accordance with the deity that each person has chosen.
Does God heal us internally, externally, or both?