If doctor really think is allergic to cow milk, then you should change to another brand that contains no cow milk (for example soya milk, but in 20% baby also got allergic to soya milk!!), another choice is formula that "breaks" the cow milk protein into small pieces that body cannot recognize it e.g. peptic junior