Is it psychological?

Guys, can it still be psychological if you get aroused but can’t get erect without stimulating the penis and when you stop stimulating you lose the erection?