There may be multiple reasons to why this is occurring. (I am assuming male for this) Low testosterone may be the issue. If you think that may be it, there are some natural ways you can try to raise your T levels. If you are not very active, try getting into a workout routine. Lifting weights and watching yourself improve/become more fit is a good way to earn back confidence! Self-confidence is another thing that may help you get some drive back in your life. I do not recommend watching porn. Although it may get the job done sometimes, it is not a great habit for the brain. Try giving yourself a few days in between self-intimacy times and see if you even want to do that. I don’t know what you have tried so far, but there are things out there that can help you in this situation! You just have to be patient with yourself