How to apply a ruler to a word document? | Word for iPad

Move to View tab and right on the left there’s a button labeled as Ruler. Tap and drag the slider until it’s green.