1Hmm. Then I visualize the problem more in the hands of that one who knows, as him / her could relate it to your person.
Different possibilities:
1) You did something or are resembling any activity or interest which manifestated. Let's say you did something to simplify this. You did it without intake of consciousness-related drug influence, out of your free individual will. You were not emotionally in uproar or confused:
Then there's no need to feel ashamed. It was a decision and life's full of "bad" decisions, but they are
necessary for growth over time, for experiences. Take it as one experience which maybe wasn't good, nor recommended, but took place. Or some proprieties (not property, that was a mistake) which your experiences and knowledge are based upon. After all, each experience is a part of your character, of
you.
Or maybe you even wanted this result and are just humiliated about the public knowledge. That's well possible, but then it's not helping to blame you for the situation, it would have to encircle telling the person about it, which couldn't keep it a secret. After all you did everything in your own possibilities to keep it a private decision, aside from telling this other person. As such the best bet would be to not tell anything related to such decisions to another person.
2) Same, but in a state of emotional uproar, as such confused in your own decisions, more prone for faulty decisions:
Then I would say, don't blame yourself for being not all the time in a state of emotional balance. That's normal as well. And if it leads to bad decisions or situations, that's something which everyone around you would've experienced in their life, as well. Quite often. They shouldn't take this as something to blame others for, as long as they are not faultless themself (which they are never).
No living being is faultless, don't let a decision in a situation which you didn't wish / wanted for ruin your mood nowadays. It's the past.
3) Same, but under influence of toxic influences, like alcohol or drugs:
Then you wouldn't be able to decide into a less humiliating decision, if it reaches levels which overtake your logical analytic thinking. It's not called "intoxication" for a cool name.
As well something which everyone around you can connect with bad decisions and situations. Everybody. The only thing you could actually "blame you for" would be the missing self control regarding the amount you consumed. It's still a quite small and self-reinforcing erroneous decision to miscalculate on the amount of consummation, it's something the people around you might do everyday (and that's really unhealthy..).
If you think about this the next time where such a situation occurs, then you might decide against it - as such the experience brought knowledge for healthy decisions in the future.
It's almost as if I were ChatGPT, but I am actually a living being. ?

As such this took over ten minutes to write.