Struggling to Maintain erection

When ever I’m alone maybe i want to masterbate i Can masterbate but when i have a girl nothing Happening i can’t manintain erection This stress Me because i’m still at 20’s