Can You Refuse an Inheritance?

What happens if you are named an heir in an estate but you don’t want it? Does it go the person’s children if you reject the inheritance?