Impulsively bought a star fruit. How does one eat it?

Slice it and eat it. Maybe with a pinch, a very small pinch, of either salt nor sugar.

Star fruit is, IMO, very bland and uninteresting, but you should make the most out of your purchase. Try it a bit raw. Have at it. Just eat it.