That depends on the reason why you did not work. You always have to make yourself available to work the contract hours to get paid. If you have not done this because you were not available for a period, you will not be paid the hours.