Gerrard believes Barkley's career would be best served by staying with Everton.
Barkley has recently been linked with the likes of Manchester United and Chelsea.
"Steven spoke to me a lot on England duty," said Barkley.
"He told me that I'm from Liverpool, a local lad playing for the team I support, and there is nothing better.
"He's done that throughout his career. He said playing is the main thing, going to another team and not playing is no good for my development.
"He was good to me when I was away. I sat next to him on the coach and he gave me loads of advice.
"He said that the big-hitters are going to be looking at me and linked with me but that the main thing is I stay with the club I'm at, the team I support and the team I love, which is Everton.
"I love Everton and all I think about is playing for Everton."