Yes, people do inherit ulcers from their parents, and they are more common among people with O blood group.