I found guided mindful self-compassion meditations to be helpful. You can google it and websites will come up.
Also hugging myself helps. I seriously never thought I would be hugging myself to feel good, but it helps. Apparently the brain doesn't necessarily know if there is or isn't another person hugging you, it just knows a hug is happening and releases oxytocin.