  The multi-messenger observation of compact binary coalescence promises great
scientific treasure. However, a synthetic observation from both gravitational
wave and electromagnetic channels remains challenging. Relying on the
day-to-week long macronova emission, GW170817 remains the only event with
successful electromagnetic followup. In this manuscript, we explore the
possibility of using the early stage X-ray afterglow to search for the
electromagnetic counterpart of gravitational wave events. Two algorithms, the
sequential observation and the local optimization are considered and applied to
three simulated events. We consider the proposed Einstein probe as a candidate
X-ray telescope. Benefiting from the large field of view and high sensitivity,
we find that the sequential observation algorithm not only is easy to
implement, but also promises a good chance of actual detection.
