Get a purge for your brain. It will do better than for your stomach.
Bodily purges were a standard remedy in Montaigne's day, when doctors routinely cleared the stomach and bowels to restore health. The quote turns that habit inward: if cleansing is so prized, clear out the mind, where the real clutter collects. Prejudices, borrowed opinions, empty learning and anxious fancies pile up just as surely as bad food, and they probably do us more harm.
This fits Montaigne's lifelong skepticism toward both physicians and received authority. He distrusted the medicine of his time, and he kept asking what he actually knew rather than repeating what books and custom said, hence his famous "What do I know?" I can't point to the exact passage, and the wording may be a loose English rendering, so the attribution deserves some caution, though the spirit is very much his.
Today, someone might apply it by setting aside a quiet evening to write down three opinions they hold strongly. For each, they could ask where it came from and whether they would still believe it had they never heard it repeated. Letting go of the ones they cannot defend is a gentle kind of purge, and it leaves the mind lighter.