Escitalopram can cause erectile dysfunction, but as you have said that you had taken only one escitalopram. After a single 10-mg dose, persistent ED for several days is more likely to have another contributor—anxiety/performance anxiety, baseline sexual dysfunction, sleep/stress, alcohol, other medications, etc.
Next Steps
You should consult your psychiatrist. You may have another contributor for that problem.