This can and will vary according to each competition.
All Sunday cups operate a repeat substitution rule. Players may start, be replaced, and then come back on again. Five substitutes are allowed for Sunday competitions; these must be named prior to the start of the game.
For Saturday cups the rules regarding the number and type of substitution varies. You should consult the rule booklet carefully.