What are some tips on writing in an embarrassed tone?

Think about writing about something wrong or stupid you've done. How would you do that?

I often use weasel words. For instance, when I made a dumb math mistake, I kind of weaseled and blamed it on a dead brain cell.