If you do not have access to the facilities, you should not be charged for the period of time you cannot access them: you are not being provided with what you are paying for. However, if the gym refuses to pro rate your monthly charge, the only way to get the money from them would be a lawsuit; it is unlikely to be the case that it would be worthwhile taking legal action for the amount of money you would recover.