If it's small, cut it out and throw it away. If it's large, cut it out and put it in a frame and rubber band it. If it's in a top bar hive, of course, you'll have to build the frames. If it's only a little curved on the ends sometimes you can push it back in place.