Before. You can rinse the particles out after flossing. It’s recommended that you do not rinse with water after using toothpaste.
after to miss the pieces the brush missed. if you floss before, then you’ll waste time cleaning areas that the brush could do quicker.
I say that it's better to floss after brushing your teeth. The reason being is to catch everything that is between your teeth after brushing