Watch this Khan Academy video to understand schedules of reinforcement as they apply to operant conditioning.