Refrigerator flowing with water

My refrigerator started with a leak and if i pushed for water in the dispenser it stopped so i shut the water valve for that fridge then i turned it back on it just flows, i thought it might just be emptying out the valve but after 2 jugs i closed it again…i’ve tried replacing the filter but it wont work:confused: