Your medical must be valid at the time you enter Canada for the first time. You cannot travel to Canada once your medicals have expired. You have no other choice than to reschedule your flight until you can redo it. Once done, you have to send IRCC your new medical sheet and wait for them to inform you that your medicals have been updated.