Maybe I should have said an up side down P trap that extends above the underground pipe. The pump will push the fluid up and out but not allow the water to travel back to the pump.