At what point should you worry about hairballs

My cat has only done it once so far but yesterday she threw up a hair ball.

Should I worry? I know they can cause intestinal blockages. Is there anything I can do? Does she need to see a vet?