You need to force the oponnent's natural tendencies to work against him.
If a player is aggro, then you want to take lines that will induce him to fire. This could mean cbetting, then checking the next street if he floats a lot, just making a small bet that he might interpret as weakness, which can lead him into raising. You're going to want to try and induce bluffs from this guy.
If he's passive, play hands that can make big pairs. When you hit it, fire three streets at him, and when you miss, try and check down ace-high hands, since you still have showdown value. This is a player you shouldn't ever be bluffing. When he calls you down with pocket 3's on a KT795 board you just forced him to be an amazingly good player. Turn his calls into terrible plays by making a big pair and then having him make those calls.
Keep thinking about other scenarios that could arise and how you'd deal with them, this is the right way to think about poker.