'Put up or shut up' means 'act on what you have been talking about or stop talking about it.'
I believe it comes from the idea of a card player 'putting up' a stake or an ante in some kind of card game or other gamble.
I hope this is helpful,
PS: Another expression that is very similar is, 'Put your money where your mouth is.'
Student or Learner