Ginger will last for a few days on the counter at room temperature. It's protected by its papery skin. Once you cut into it, however, it needs to be refrigerated. I've found the best way to keep ginger from going moldy is to store it in a bag with a zip top closure. Remove as much air as you can with a straw.