There are a couple of things to do to help hash browns to stick together. When you slice your own potatoes, you can soak the potatoes to remove some of the excess starch. Whether you soak them or not, don't skip removing the excess water from the potatoes by taking some paper towels to dry them. A binding agent, like an egg can also help to keep the potatoes to fry together.