Pretty easy. Just run in front of a guard until he goes red (orange may work as well), then run away and hide (preferably in a vent or somewhere he can't find you) and just wait until he returns to green status. You will likely do this by accident at some point during the game.