Although thalassemia cannot be prevented, it can be identified before birth by prenatal diagnosis. People who have thalassemia or people who have the thalassemia trait can receive genetic counseling to avoid passing the disorder on to their children.