Log into Gmail.
Choose Settings (gear at far right)
On General tab, near the bottom of page, you will create your "out-of-office" reply..
Fill in the boxes appropriately. Click the button to turn the responder on when you need it.
Save your changes each time you change the settings. (Don't forget to turn the responder OFF when you return!)