Piriton would help in true milk allergy, but not cows milk protein intolerance. It can obviously be very had to tell which your LO has when BFF because the milks proteins are so very much 'diluted'.
In the UK piriton is under medical advice only before age 1 (not to say it isn't safe, but it should be prescribed by a GP). Obviously prescribing guidelines differ the world over though.