If you or somebody you know is currently struggling, please take deep breaths and reach out to somebody. Here are few resources that may help.
How to forgive oneself
Depends on situations
The fact that you are thinking about it already means you’ve started forgiving yourself. Just accept whatever happened and gradually you’ll see that you’ve come out of it.
All the best