When you share with someone who you trust you break down the shame. When you hide and keep it a secret it is almost like you feed the shame and it gets bigger. I am not sure if you are familiar with the Harry Potter books ( I know I am exposing my nerdy-ness, lol) but I feel like it is that whole Voldermort thing. You give the secret power by allowing it to have this hold on you. We are all broken and imperfect, everyone has their screw ups. The person you tell, no matter who they are has their own set of issues too. By realizing this and sharing it you not only gain more authority and control of your healing and recovery but you show others your vulnerability and it gives them a chance to realize that they are not alone in their secrets. I have also realized through encouraging my husband with his recovery how he has so much more grace for others. Before he was a lot more judgemental towards people (I was too). Now we both tend to see people's mistakes as a starting point for growth.
As far as the mention above about feeling like less of a man, I understand that a lot of men with PIED feel this way. My husband carried this attitude for a long time, he had very low self esteem for a bit. We talked one day and I had mentioned a perspective that he said was helpful to him and so I want to share it here too.....
How many actual minutes of a person's life to they spend having actual sex? Compare that with how much time they spend not having sex....how much time to you work, play, spend with friends, live? Why base your entire self esteem on something that you only do a fraction of your life when you do so many other things so much more? Sex and weather or not you can gain an erection is literally only one small part of a relationship. I think weather a person is kind, loving, funny, caring are WAY more important. If you really think about it then you would probably agree, right?
For my husband, when he finally thought about this he totally agreed and started seeing just how incredible a person he was. He is a good dad, friend, husband, hard worker and so much more! He finally started caring less and less about his PIED. That was when we both realized that his confidence and self esteem was impacting his performance and may what started as PIED had turned to PA and when he stopped caring and started accepting who he was and started seeing himself as an amazing person erection or not then his erections started coming back. It will be ok. I know it is scary but know that weather or not you gain an erection does not define the person you are!