Those flaps (there are multiple ones) cover screws that hold the underbody rocker panel trim in place. You can try pushing it back into place to cover the hole, but it looks like you scraped it on something and the plastic might not pop back into place. If it doesn't stay in place, I'd suggest just cutting it with a utility knife.