If your toilet paper holder is broken, typically you can fix it yourself with a little work. The type of repair depends on the problem -- a cracked ceramic holder will need different attention than a metal holder that has come loose from the wall. There are many different styles of toilet paper holders; check your holder's material and the way it is attached to the wall to figure out how to solve the problem.
Remove the broken, spring-loaded roll from your toilet paper holder.
Measure the length and diameter of the broken roll and take those measurements -- or the broken roll -- to the hardware store. Either will help you purchase the correct size replacement.
Put a roll of toilet paper on your replacemennt spring-loaded roll and slip it between the toilet paper holder arms. It should fit right in.
Remove the roll holder from the wall using a screwdriver or a pry bar, if the holder is plastered into place.
Remove the old screws, if needed.
Screw the holder back into place using plastic-sheathed, molly screws, which anchor into the wall. If your holder is ceramic, scrape away the old plaster and apply new plaster or construction adhesive. Attach the holder to the wall where you added the plaster. Let the plaster dry and harden completely before putting any additional weight on the holder.
Mix a little all-purpose polyester resin filler with hardener. The more hardener you use, the faster the patch will set. Use a wooden craft stick to apply the filler to cracks in the ceramic holder.
Let the mixture dry until it becomes rubbery. Use a sharp knife to cut off any excess.
Sand the surface flat using a fine grain sandpaper, such as a 220-grit sandpaper.
Match the colour of your ceramic toilet paper roll with an acrylic paint. Paint over the resin filler with the matched acrylic colour using a paintbrush. Let the paint dry.
Apply a clear acrylic spray paint to seal the surface of the holder. Let it dry completely before putting a roll of toilet paper back on the holder.