Menustral Problem

I have a problem of irregular periods since beggining. My doctor suggested me Progyluton for 3months. I took it in Jan Feb and March. The problem got solved. Now again I am facing irregular periods. My doctor again suggested me Progyluton. Please tell is it safe to take?Are there and side effects?