Beaner is correct.
Actually what happens is that the concentration of minoxidil decreases over time. So all you do is apply as normal or a bit extra. The minoxidil does not actually go off. The yellow colour will be the minoxidil crystallising a bit. Two options, just warm it up at 37 degree celcius and this will re-dissolve.