If you're going first, put your first “X” in one of the corners. If the other player puts their first “O” anywhere other than the center, you can win every time. Just put your second “X” in another corner so there's an empty space between your two “X”s.