Just stop right now! The operation is done. Whether it was medically required or not - it is done. Do not beat yourself up for having it. That is a TMS trait -but you need to overcome it. Be kind to yourself! The reason you had the op was to try and make things better - so you made a decision to try and improve things. That is good! Keep with the impulse of wanting to make things better. If you think you have TMS (and I really believe most people do to some extent) then investigate. Do the Structured Educational Programme, read Sarno's books, and any others that 'speak' to you. Take time in your day to concentrate on you - meditate, practice mindfulness, get out into nature. The point is to become a whole and balanced person, not to beat yourself up for past mistakes. Really the moe mistakes the better - if we see them as mistakes, we try not to do it again - we learn from it, we learn and we grow!
If a child falls off a bicycle trying to learn to ride - we don't beat them for falling off - we encourage them to try again...
I had TMS for 22 years, masquerading as fibromyalgia. I missed my chance to have children because I was too ill to be able to look after them. Part of me is sad that I do not have children but part of me celebrates my freedom. It is all in the perception.
So embrace your inner child, be kind to yourself, let your body heal from the op, treat yourself to quiet moments and peacefulness. Tis all grist for the mill... Put all that pressure on yourself to heal, physically, emotionally and psychologically. Be kind to you...