A random check engine light coming on indicates there is a temporary problem with some engine control system detected by the computer....often times a misfire due to old spark plugs or wires, etc... You can test to see what trouble codes are stored which will indicate which system has a fault in it and may require more testing. Being a 95 model, it could be an OBD-I system or some models had the newer OBD-II system which uses different test procedures. Some info on testing and what codes mean listed below....some parts stores offer to check for trouble codes for free or have a shop check it out.
OBD- I system....
"With ignition off, insert jumper wire in service check connector terminals, located behind right side of dash on Accord, Civic and Civic Del Sol and near center console on Prelude.
Turn ignition switch to ON position. Diagnostic Trouble Codes (DTCs) will be indicated by a series of long and short flashes on MIL.
The number of long flashes indicates the number in the 10s column. The number of short flashes indicates the number in the 1s column. For example, 4 long flashes followed by 3 short flashes would indicate DTC 43."
OBD-II....
"95–97 Accord V6 & 96–97 Accord 4 Cyl.
If the malfunction indicator/Check Engine lamp remains lit or comes on while the engine is operating, the ECM has detected a malfunction and has stored a DTC in its memory.
To access the DTC memory using a scan tool, connect the Honda PGM Tester or an OBD II scan tool to the 16-pin DLC. The DLC is located in the center console behind the ashtray. Turn the ignition On and begin troubleshooting as indicated by the tester, following its prompts to diagnose the error. If unsure how to operate the scan tool or PGM tester, refer to the tool user’s manuals for specific operating instructions.
To access DTC memory using the MIL, connect the SCS service connector to the SCS check connector. The SCS 2 pin connector is located under the passengers side of the instrument panel. Place ignition switch in the On position begin MIL flash code diagnosis.
Data Link Connector (DLC) locations. 95-97 Accord V6 & 96-97 Accord 4 cyl. In Console.
Service check connector location. 95-97 Accord V6 & 96-97 Accord 4 cyl. Passenger side, up under glove box."
http://www.batauto.com/troublecodes/honda/
Trouble codes for both systems and what they mean are listed at bottom of page.