When should a baby be weaned off of formula?

Rebecca
My son is 5 months old, and has been eating a jar of food a day since he was about 4 months. He has a 7oz bottle every 3 hours of soup formula (dairy intolerance). How old should he be when I start to wean him off of formula and how would I do it? I'm a FTM