please fix all of the grammar problems in the following text
There is a fact that people begin to think about their crimes when they are given the capital punishment.
There It is a fact that people begin to think about their crimes when they are given capital punishment.