Tablet Nook Hd Power Problem

My Nook Hd turns off while I was using it. I plugged it in and the green charging comes up, then it turns orange,it flashes from orange to green to orange and then it is gone. Also the Screen turned on then off when the charging lit was gone. Pls Help.