Horse riding

am i able to go horse riding after surgery? around 5 months after surgery. My surgeon said that i could but my friends dad is a brain surgeon and he said that i shouldn't.