Periods for calculating RSI and Williams

how many periods do you use to calculate your RSI and Williams Percentage Range, i’m a beginner trader and am struggling to decide on a good amount to be as accurate as possible while still avoiding fakeouts