The 22-year-old actor said he was forced to cancel a number of professional commitments earlier this year when the pain became extreme.
He was diagnosed as suffering from a condition which causes intense pain on one side of the head and is experienced by just one per cent of the population.
"I was in the middle of these weird things called 'cluster headaches'. It's very rare evidently, but it's exceptionally painful. It makes a migraine look quite tame. At the time I thought I was being a wuss (coward). I was taking 12 (strong painkillers) a day and going, 'Why do I still have a headache?'," he said.
Photos: Shah Rukh Khan, Shweta Bachchan at Karan Johar's book launch
Photos: Sunny Deol with sons Karan and Rajvir at Mumbai airport
Photos: 10 beautiful moments that capture winter around the world
Photos: Karisma Kapoor, Preity Zinta, Shraddha Kapoor at Mumbai airport
Spotted: Anushka Sharma and Diljit Dosanjh at Mumbai studio