If an action is *optional* (e.g., playing a Trainer, attaching an Energy, attacking your opponent's Pokémon, etc.), and you forget to take that action, you may ask your opponent for permission to take that action. For example, if you attach a Grass Energy to your Pokémon, and you wanted to attach a Fire Energy, you may ask your opponent's permission to take back the Grass Energy and attach the Fire energy instead. If he or she says no, you're stuck with the Grass Energy.
Source: Organized Play Announcement (2007-03-14)