Cystic fibrosis (CF) is a genetic disease. This means that CF is inherited. A person is born with CF only if two CF genes are inherited. You have to get one from your mother and the other from your father.