I did not read all of the other replies. Please forgive me if this is redundant.
I learn a song one bar at a time. After I’m proficient with three or so bars I combine them. Then repeat that process until the whole song is learned. It takes me a long time, maybe 15 minutes per bar, depending on the bar. Of course, bars that contain common scales take only a minute or two. I started on Unchained Melody about six months ago, and I’m getting okay at it. I have the beginning and ending bars memorized, but still need to look at the middle four bars. I expect to have the whole thing memorized by the end of the month.
I hope this helps.