Medicare Part A is hospital insurance. You will also have to pay a deductible before Medicare benefits begin. Medicare will then pay 100% of your costs for up to 60 days in a hospital or up to 20 days in a skilled nursing facility. after that, you pay a flat amount up to the maximum number of covered days.