A pilot faces a medium-term loss of their medical. What can they expect?
It will first and foremost depend on the carrier you are working for and if they have anything in place for such a case. There are personal insurance policies out there to cover this exact case, like this one and this one. Some carriers may offer policies like this in house for their employees as well. 

If available to you it might be possible to spend some time in the sim without a medical or (if you are allowed to) instruct and work with other pilots at the company for ground based instruction.