The Manchester United loanee – who made his Football League debut in the Shrimps’ 3-1 defeat at Northampton on Saturday – says he has learnt plenty watching the Old Trafford No.1 and Spanish international.
The 19-year-old said: “Sometimes we get to train with David and it’s good learn from someone who’s done what he’s done.
“The form he’s in now is outstanding and training with someone like that, you can learn what they do and watch them, try and replicate it and put it into your own game.
“I don’t think you can go far wrong.”
O’Hara, who has been with United since the age of eight, now gets to train alongside the Shrimps’ experienced shot-stopper Barry Roche, who missed Saturday’s defeat through illness.
O’Hara said: “Especially with someone of Barry’s age and experience there’s always something to learn from someone like that.
“It can only help me and make me better.”
Signed until the end of the season at the Globe Arena, O’Hara will then return to Old Trafford ready to fight for his spot with Sam Johnstone, who spent time with Preston North End this month, and Joel Castro Pereira – who has been with Rochdale – amongst the the other promising keepers at the club.
O’Hara said: “We’re good friends but you draw a line when it comes to playing because you are competitive, you do want to be No.1.
“It’s important that you don’t become too good friends with them because it can get in the way.
“You don’t want anyone else taking your place.”
The Red Devils youngster only learnt he would be playing at the weekend when he got on the coach to Northampton but was not daunted.
O’Hara said: “One of the lads mentioned he wasn’t feeling very well this morning and once I jumped onto the coach the gaffer sat me down and let me know that I was going to be starting.
“I wasn’t really nervous when he told me. I felt confident, it’s just a game of football.
“But when you get closer to the ground you start thinking about things.
“As soon as the whistle goes though it’s just game time and you settle in and do your thing.”
A lack of nerves showed in an impressive debut with the teenager believing on another day the Shrimps could have taken something from the game.
Having also spent time on loan with Stockport this season it was a first introduction to League Two for O’Hara who knows it will aid his development compared to Under-21s football.
He said: “It’s always good to make your debut, especially in the league. It’s tough, playing against men.”