The 27-year-old joined the Hammers from Swansea City on a three-year deal worth £20.5 million but saw an injury on his league debut keep him out of action until late October.
He struggled for form and playing time upon his return, but has so far scored four goals for the Hammers this season. He also found the back of the net twice at the Africa Cup of Nations in Gabon.
“After I joined West Ham, I was injured for a long time and then I went to the African Nations Cup. So, my season only started properly there,” Ayew said, as reported by The Sun.
“A lot of people underestimated the injury, which was a very difficult one. I had to take a decision whether to have an operation or not.
“There was a lot of hard work and when I came back I still had pain. But I played through it and I never complained.
“When the criticism came I stayed calm because I knew I was not 100 per cent. But I had to go through that to get back.
“It is the worst I’ve had in my career but it made me stronger, tougher.”
In all, Ayew has now made 19 league appearances involving 10 starts and four goals for West Ham.
He was in action as the Hammers beat Swansea 1-0 on Saturday.