You don’t have. If you know where the gift was purchased I’d take it to the store with all the packaging and shipping materials and explain that this is how it arrived.
If you’re not sure where the gift came from then tell the gifter that it arrived broken and he or she should be able to help you get a new one.