to have said it
You shouldn't have said that.
Tom no debería haberlo dicho.
Tom shouldn't have said it.
Yo mismo no podría haberlo dicho mejor.
I couldn't have put it better myself.
Ustedes no deberían haberlo dicho.
You shouldn't have said it.
Usted no debería haberlo dicho.
You shouldn't have said it.