Did Paul/John direct Ringo on how to play the drums for each Beatles song, or did Ringo do his own thing?

Ringo's technical skill is extremely obvious listening to the Beatles, but I've never known if he came up with those crazy drum lines himself