During the thickening of my sauce I accidentally poured too much flour into my sauce. This resulted into lumps of flour.
Is there a way to get rid of these lumps?
Once this has happened, about the only practical way to remove them is with a strainer. Of course that will remove anything else in the sauce like onions as well.
In the future, you can use better ways to thicken your sauce. See some ideas in this question, which while phrased for mushroom sauce, has a very general answer: How can I thicken my mushroom sauce?
I totally agree with @SAJ4SAJ his answer, but I would like to add that I've heard about people getting rid of the lumps of flour with an immersion blender. However, I did not do this myself. But if I ever try it, I'll update this answer.
This is not always a solution (same limits as other answers), you will destroy pieces in your sauce you do desire.