Learn about pot control. Just because you have 2 pair, doesnt mean you have to fold in certain situations. But on a 4 flush or a 4,5,6,7 board you should trust experience and learn to fold. It isn't just those hands either. The most important thing to learn is that each board and all betting patterns tell a story. Work out what that story tells
you and see if it tallies with whats on the board.
Example. A tight player limping from mid position can usually mean a small pocket pair and that they are set mining. So, if that happens and a flop comes 4,7, 8 they could easily have a set. On a JJ10 board, their limp has almost no J or 10's in their range.
hope you get the idea