If this is on the front chain ring I would check your limit screws on your front derailleur to make sure it can actually swing all the way to the position for the third chainring.
Other possible causes, the pawls in the shifter getting gunked up. You could try cleaning it out with WD40 or alcohol. The put back in some oil like tri flow.
Final possibility the cable/housing could be shot and needs to be replaced.