The structure that prevents it is A. Pylorus
In order to prevent the backflow, Pylorus is divided into two parts, the tantrum that connects it to the body to the stomach, The pyloric canal that connects it to the duodenum, When the substance enter one section, the valve to another section will be closed.