Hanks, 57, plays the lead role in adventure drama "Captain Phillips".
"I called up Matt Damon, who made two of the 'Bourne' movies with Paul," Hanks told Parade magazine, said a statement.
He further said that Damon, who has co-starred with him in "Saving Private Ryan", advised him by saying: "Look, the first time you do it, it's a disaster, because everyone's talking on top of each other. But then it settles down."
"Captain Phillips", releasing in India Friday, is inspired by the hijacking of the container ship 'Maersk Alabama' by Somali pirates in 2009.
In pictures: Bend it like Mumbai yogini Natasha Noel
Photos: Varun, Taapsee, Jacqueline promote 'Judwaa 2' on 'Dance Plus 3'
Instagram's newest sensation: Check out these photos of Bruna Abdullah
Photos: This is how Chitrangda Singh looks without make-up
Photos: Malaika Arora parties wearing see-through lace dress