Short answer: repeat business and word of mouth.
Slightly longer answer: I've done this for a while (a decade plus) and suffered through my own periods of undercharging and making just about every mistake in the book, business wise. However, I always did decent work and was reliable. That's what matters most. Over time, I corrected my under billing using the technique described in my answer above.