Baby helmet

If your baby had to wear helmet, can you please give me some feedback? Reason why, head measurements, length of time, and end results? My little girl has a flat spot on her right side (plagiocephaly) and I am trying to decide what to do.