How to remove headlight and wiper switch without breaking them?

just to make sure since this is new to the OP - the chrome bezel IS the nut you are trying to remove