Penis snrinking

Patient: I am 45 year old male Married. Over the last 9 months or more. I have been unable to keep a erection with my wife while having sex. and also I notice that my penis is getting smaller. i have talked to m Dr about it and i have proscription for Viagra but can’t afford it right now. a little history I’m taking hydrochlorothiazide 25mg 6’5″ 300 lbs. I work 4 day 12per hour day shift 4 days off 4 night don’t sleep well . i hope a gave you enough to help or to gave my adviceThank youO