James Marsden has been dishing out parenting advice to new father Ryan Gosling.

The 41-year-old actor, who has three children, Jack, 13, Mary, nine, and William, 22 months, from two previous relationships, has told his former 'Notebook' co-star to ''enjoy every moment'' of parenthood.

Speaking to Yahoo, James said: ''Make it through the first year! You'll get your sleep eventually. You go through those sleep-deprived months where you don't know who you are or where you are, or what's happening. But just enjoy every second of it I guess.''

However, the hunky star doesn't think Ryan, 33, needs much advice from anyone because he believes he's pretty clued up on what's to expect as a father anyway.

He explained: ''He's a good man. He's very intelligent and he seems very in tune with his young self.''

Ryan and his girlfriend Eva Mendes, who first started dating in 2011, welcomed their first child, daughter, Esmerelda into the world last month.

The 'Place Beyond the Pines' star has already scaled back his workload since becoming a father as he wants to spend as much time with his family as possible.

A source said previously: ''His family is now his number one priority. He's accomplished everything work-wise that he had hoped and this is the next step in his life.''