To make the same mistake twice
Literally 'to trip over the same stone twice'. Describes repeating the same error despite having experienced the consequences before.
She went back to the same boyfriend. She made the same mistake twice.
Don't think about making the same mistake twice.
—Why did he do it again? —He made the same mistake twice.