It depends on the situation. If you slip and fall through no fault of any party, then you’re responsible for your injury. There’s a legal concept called Voluntary Assumption of Risk that applies to on-ice skating injuries. This means that you should be aware that accidents can happen when ice skating.
Other parties such as the rink owner may be liable if a fall is caused because of an issue with their facility.