The possible failure outcomes are as follows:
TTH, THT, HTT, HTH, and TTT. The only other three possibilities are HHT, HHH, and THH; these are all success events, since each has at least 2 consecutive heads.
The theoretical probability of each of these events is (1/2)3 = 1/8. Since these are all independent events, the probability of one of these events occurring on three consecutive flips is the sum of these, or 5/8.
So, the probability of at least 2 consecutive heads is 1 - the probability of that not happening, or
1 - 5/8 = 8/8 - 5/8 = 3/8.