You need to bet with purpose to maximize your winnings and minimize your losses.
The two distinct categories of betting are –
1. For value (where you’ll be called by a worse hand 50% of the time or more)
2. To bluff (make a better hand fold).
Some players make the mistake of betting their medium-strength hands at inopportune times. For instance, when they’re likely only to get called by better hands. In such cases, it’s usually better to check, intending to call a bet. This action will allow your opponent the opportunity to bluff.