What kind of pills or treatment can somebody get for bronchiectasis?

GLutathione. Nebulized glutathione is a great adjunct for any/all respiratory illnesses. It needs to be compounded and administered with a nebulizer. If that is not available, liposomal glutathione, taken orally, is available from several companies. It is expensive but darn well worth the money.
See below... Bronchiectasis usually isn't treated unless there's a flare up from an infectious standpoint - which you would take antibiotics for, or unless there's massive hemoptysis, then surgery is usually involved.