Severity of HMD is inversely proportional to gestational age. Antenatal steroids given to a mother at risk of delivering a premature baby reduces the incidence and severity of HMD.