The ruler appears by default when you tap in text, but you can hide it if you want.
Tap , tap Settings, then turn off the Ruler so it no longer appears when you select text.
Tip: You can also use the ruler to set margins and tab stops.