You can reattach it to the windshield with clear tape or a small amount of clear adhesive.
what if the sticker is all messed up?
You could have your vehicle reinspected or you can order a replacement sticker.