How to use /execute and /random to make a command?

I want to make a command that only activates when /random value equals a specific amount. Can anyone help me figure this out?
Continue to help post