Everyone goes to the afterlife when they die.
There are 2 main ways of defining the difference between heaven and hell:
- heaven is where you're happy, hell is where you're unhappy
- heaven is where good people are, hell is where evil people are
Now, there is little justice done on earth, but justice takes place in the afterlife.
So, evil people, once their actions catch up with them, will be very unhappy. This is karma.
Some people will even be destroyed, although this is rare. (Think extremely powerful people who do tremendous damage)
However, as mentioned, this can take a while to happen.
Reincarnation is a thing, so people can keep being reincarnated into privileged lives, and being happy in the afterlife, despite being evil. Even tremendously evil. But, eventually their actions will catch up with them, they just need to be exposed.
Thank heaven for justice!