Yes, worrying too much about ED to happen can also lead to it. This is known as performance anxiety and it can happen to anyone. You can get treated with medicines and proper education.