Hi!

How do you express regret about something?

For example ->

I'm sorry! I should have asked you first. If I knew that, I wouldn't go there.