Looking at your opponent's profile gives you clues: which openings do they play, at which time controls are they strong? Every player's game history is visible on their profile on the site.
Against an aggressive opponent play solidly and patiently; against a calm opponent try to unbalance the position. But above all, the position on the board matters, not your opponent's reputation.
Look at your opponent's past games: which openings do they play, are they aggressive or solid? Solid structures can work against an attacker, sharp play against a positional player.
Still, play the board, not the opponent. Preparation only gives a head start; once the game begins, the best move is the best move whoever sits across from you.