If both parents have the cystic fibrosis gene, and pass it into their child, the child will get cystic fibrosis. A cystic fibrosis gene is needed from each parent. The parent might not have cystic fibrosis but still might have the gene. A person with cystic fibrosis is not contagious (they cannot give it to anyone else). There is no cure for cystic fibrosis, but there are a lot of medications that help keep people healthy.