I’ve had this twice. You can ride, but at first it will hurt like hell. the pain goes away a little bit every day, but it will be maybe 4-5 months until you don’t notice it anymore. Mellow trails are good to start–it’s the loading and lifting for getting over obstacles that’s the worst in the first weeks. I hate to say it, but sleeping will be tough for a while.