This is actually a bit of a complicated topic - the optimal strategy depends on a lot of things, including your ability level, and the number of questions you expect you'll need to guess quickly at just to finish on time. In general, the higher your level, the more important it is to finish the section, even if that means guessing randomly to do so. For a below-average test taker, though, it's actually worse to guess randomly at the end than to leave unfinished questions 'blank' most of the time. Assuming you're Q40+ and V30+, you should finish each section no matter how you need to do it. Leaving guesses to the end of the section isn't all that bad, but it's much better (this is easy to do in Quant, hard to do in Verbal) to guess quickly, if you know you will absolutely need to guess, at very hard-looking questions in the middle of the test, rather than guess at the end. Guesses at very hard questions aren't going to hurt you much at all, but guesses at the end can hurt if an easier question happens to show up and you don't have time to answer it properly.
I agree with Reed's comment above about rushing. WIth two minutes left, and two questions to go, it's much better to invest almost the full two minutes in one question, and guess almost randomly at the other, than it is to rush both. Most people spending one minute per question don't do much better than they would guessing randomly anyway. So if you have two minutes to go, and two questions left, or four minutes to go and four questions left, glance at the question in front of you, and quickly decide "I can probably do this" or "I'm not sure I can do this". If you think you can solve, invest the time and guess later, and if you're not sure, guess now and invest your time in the next question, or the one after that. But in Quant in particular, ideally you make any guesses you know you need to make at hard questions in the middle of the test, rather than at the end.
And don't worry about guessing at consecutive questions - if you get two hard questions in a row, and need to guess at both of them, that won't hurt you any more than guessing at two hard questions that are spaced out in the test. The fact that the questions are consecutive is irrelevant. It's question difficulty that matters.
_________________
GMAT Tutor in Montreal
Contact me for online GMAT math tutoring, or about my higher-level GMAT Quant books and problem sets, at ianstewartgmat at gmail.com
ianstewartgmat.com