Imagine that you have told your friend that she had an ugly car, yesterday. Now today you are alone standing in front of the mirror, talking loudly to yourself. You want to tell yourself that it was not a good thing to say her that her was was ugly. And you want to use should or I'd better in negative and past tense.
Are these correct?
I shouldn't told her that, yesterday.
I shouldn't tell her that, yesterday.