The fuel pump is activated and deactivated by the PCM based on various factors, including the ignition switch position, engine speed, and other sensor inputs. If you're having fuel pump issues, you'll need to diagnose the problem using a scan tool to check for codes or testing the pump and its related circuitry. A faulty relay, a bad fuel pump itself, or a problem with the PCM are all possibilities.