Better is to stop creating your own weaknesses and let your opponent screw up.
Weaknesses
When facing a weak pawn, don’t rush. Add 1–2 attackers, not more, to tie down their defenders. Then shift focus to another weakness or improve your position. If they can’t defend and have no counterplay, it’s a free pawn. If they can, create a new weakness, maybe by provoking a structure break, using tactics, trading, playing prophylactic moves, baiting weakening moves. You can also switch sides to make them overextend their position. Remember weak pawns aren’t just to be captured, they’re long-term targets for gaining initiative and restricting their pieces.
Weak squares and how to take advantage of them.
A weak square is a kind of square that can’t be challenged by an enemy pawn and is ideally controlled by yours. Create weak squares by baiting pawn moves (e.g., provoking a knight kick). Place a piece—usually a knight—on the weak square, not a pawn. Trade off the defenders (except pawns) to secure it. For example, if only a bishop defends it, trade bishops first, then place your knight there. If you have to trade a bishop for a knight to get a weak square then do it, it is worth it most of the time.
Avoid color weaknesses: Don’t push pawns onto the same color if your bishop can’t defend those squares or is gone. Force opponents to weaken squares with threats, then attack them using your pieces.
Avoid pawn weaknesses: Don’t allow backward, doubled, tripled, or isolated pawns. Trade when you ruin the structure of the opponent, but only do it when the piece you will trade with is positionally equal/slightly better/worse than the piece that you are trading for.
Avoid giving outposts: Don’t push pawns in ways that give your opponent strong squares for their pieces. Instead, force them to weaken their control over those squares and take over those squares yourself
How do you use your opponents weaknesses against them and how do you spot weaknesses?