Gay feeling erection problem

Patient: I am 18 year old boy. i was completely normal until 17. i had girlfriend and used to enjoy life. but i started watching porn on net. i got addicted to it and eventually now i have started having gay feeling and low sex drive i am not able to make an erection. please help me. i dont want to become gay. please restore my life . i wont watch porn again. please give me the solution so that i become sexually healthy please do reply….