A cracked screen or broken phone doesn't necessarily signal the end of that phone, there are ways to make the best of the circumstance enough to get it to favour you.
Get a Screen Protector
This is especially useful when your phone screen is cracked. Using a screen protector can help stop the spread of the cracking, and help maintain the phone long enough for you to change the screen or get a new phone.
Leave in Raw Rice
If your phone accidentally falls in a body water and you are unable to get it out quickly, immediately turn it off, remove all removable parts, dry them off and stick the phone in some rice or a bunch of silica packets and let it sit there for three days. Chances are you'll be able to save the phone and continue using it to meet your gadgetry and telecommunication needs. For newer phones, you probably have nothing to worry about if the phone accidentally gets into water for a couple of seconds. But if the phone has been in there longer than its IP rating, then you can apply the above steps and pray it works.
Ask a Friend for an Old Phone
If your phone is broken and there is nothing you can do to fix it, you can try asking for a friend's old phone. Sure it might be a much older and somewhat outdated model, but it'll be able to meet your basic telecommunication needs until you're able to get a new phone. You can get a new battery for the phone so that battery wise, the phone can function like brand new (that could offer some solace to you in the meantime). You can also consider using parts of the old phone to fix your broken phone, if it can be done of course.
Attempt a Repair
If you have the money and consider it worth it, you can give the phone to a technician to help repair it. It might not be so cheap, but it might be cheaper than buying a new phone all together. Do your research well and find a good technician that can help with the phone, not a charlatan that will attempt to use the outlet to milk you dry. In addition, if you're industrious, have the expertise and feel up to challenge, you can attempt to repair the phone yourself. You can use some Youtube DIY videos to guide you. You can save yourself a ton of money in the process.
Sell the Phone
You can always sell your broken phone. You definitely would not be able to get much from it, but you might be able to get a reasonable enough amount to recoup some of the money you've already lost. Do your homework, do the maths and try to figure out the actual worth of your broken phone before trying to sell it (so you aren't cheated and are able to get your money's worth out of it). Besides, in doing so you might realize it's better to just fix the phone if you can. Also, if it makes financial sense, you can fix the phone and then sell it to maximize your gain from selling the phone.
Buy a New One
If you can afford it, and your phone is broken, you can buy a new one. You can gather some money together, and if you sold the broken phone, add the proceeds to this money you've gathered and get a new and probably better phone. It depends on you.