If this is real and that what is happening to you, you need to fix it now, it seems impossible but its not trust me, porn is very unhealthy especially if you have a girlfriend, and addictions are horrible, combining the two is a recipe for disaster. I feel for you man I do, but heres the way out:
-Sleep earlier and wake up earlier
-Eat healthier and get all vital minerals
-Exercise everyday both cardio and weights
-Pick-up hobbies like reading and anything productive
-Enjoy and treasure your time with her and do the same with friends
-Try to take steps to further your potential career
Trust me if you do all these things you will not only get back to even better than normal with a much better outlook on life, but your girl will see you as even better than before too, you will be able to get and maintain erections perhaps even better than before, and truly enjoy love making with your girlfriend, you'll be healthier, happier and life will seem alot less confusing, Its all about forsing your body to realise that addiction doesn't control you, you do.