I would have to know more about your symptoms and experience to give a valid answer.
But, I do know that worrying about an erection
makes it harder to get an erection.
Many patients solve this problem with time and realization. Some look at porn to stimulate a natural erection. And, some ask for help from their partners to over stimulate the penis to action.