Flagyl pills 400 tablet helps prevent an infection after surgery. It is also used in the treatment of dental infections, leg ulcers, and pressure sores. This medicine is best taken after eating some food. It should be taken at the same time each day to get the most benefit.