The toothpaste fix is temporary and usually lasts for a short period. It can hide the cracks and scratches for a few hours to a couple of days, depending on the extent of the damage and how frequently you use your phone. It's advisable to get the screen professionally repaired or replaced for a long-term solution.