Hi Guys, Newbie here.

Im gonna ask Is there any correct way to learn a song entirely?

Sometimes in my practice session I just practice the solo and rhythm depends on which part is the easiest.

Do you have to separate it into several parts and then practice it one by one?

Thanks for your help
theres no correct way to do it you just have to find the way thtta works for you

the way i do it is i play through the song and see if theres an parts i have trouble with
and slow those parts down and practice them until i get it
It is normally easier to break it up into bits especially if it is a difficult song and play it slow enough that you get every note right and then speed it up with a metrenome so your timing is also correct. But that is just one way of many as supersac said.