The toilet is running because either water is running in the toilet or water is running out. You need to replace the fill valve and/or the flapper.
Original article: https://www.reviewjournal.com/life/home-and-garden/replace-valve-flapper-to-stop-running-water-in-toilet-2662368/