Do you have any regrets?
Then have you never made any mistakes?
How do these ideas correlate?
Well, there are plenty of things that I regret and and those usually involve not doing something. There are also plenty of mistakes, but those involve doing something. So the only way to live without regrets are to do what you feel is right with all the information that you have and be willing to make mistakes.
Because, if you ask most people which is easier to live with, between mistakes or regrets. 99% would probably say mistakes, because at least you don't regret it. You can still regret dong something or not doing something and have it be a mistake.