It’s pretty pointless to tell yourself you should have done this or shouldn’t have done that. You can’t change the past, but you can live in the present.
Just accept that you made the best decisions you could have made with the information or resources you had at the time. Hindsight is always 20/20, so best to try to just let it go and don’t beat yourself up for perceived missteps.
And do a rumination check; ruminating about the past can generate anxiety, just as worry about the future.