how do you distinguish an irrational fraction from a rational number.

in rational fraction the pattern is repeated after say x number of digits.

but in irrational fraction we say the pattern does not repeat. how can we say this before looking for say thousand decimal places, maybe a million digits.

is there no simpler method to know whether a fraction is rational or irrational