I'll just add a bit of a different perspective, though @wallenborn already gave an excellent answer.
The encryption schemes you mentioned are typically used due to a simple yet fundamental problem: what if you encrypt the same message block twice, using the same key?
In block cyphers, this process always gives you the same output, so your attacker could gain some knowledge on the contents of your message by analysing the patterns of the blocks.
There are a few encryption schemes mentioned here, but the goal is to always mix your message block type with some unpredictability in order to make sure no two equal message blocks encrypt the same way. You could indeed just add a random IV in each block as one of the answer suggests, but as we know, there's always a - hopefully small - chance you get two equal numbers when you ask for IVs. Those two blocks will be encrypted the same way for sure, and if you are unlucky and they have the same message, they will be exactly equal.
As such, I'd use counter mode instead, which, by changing the random IV with the count of every block, ensures that you get different encryptions in every block, even if your message has repetitions.