Hesitation at 3000rpm

How am I to set the timing without knowing anything about the internals of the engine??