The flowers are the lighter green parts. These will quickly set seed and cause problems.
Cut the top off and put it inside a compost bag turned inside out. Dig the root out as deeply as possible. Remove all bits of the root as it will regrow
This is edible. It is prolific and needs controlling by removing regularly before it seeds.