Before attempting this, you should:
* Identify your engine: This is crucial. The procedure varies significantly between the different engines offered in the 1998 Grand Am (e.g., 2.4L Quad 4, 3.1L V6, 3.4L V6). Your owner's manual will specify the engine type.
* Consult a repair manual: A Haynes or Chilton repair manual specifically for your year and engine is essential. These manuals provide detailed step-by-step instructions with diagrams.
* Gather the necessary tools: This will include various sockets, wrenches, screwdrivers, a torque wrench (absolutely essential), oil pan gasket, new oil pump, possibly new timing chain components depending on your engine and the condition, and plenty of clean rags.
* Have a safe and clean work area: You'll need ample space to work comfortably and safely.
General Steps (These are highly generalized and will vary based on your specific engine):
1. Drain the engine oil. This is the first and most obvious step.
2. Disconnect the battery. This is a safety precaution to prevent accidental shorts.
3. Remove the oil pan. This often involves removing various components to access the oil pan bolts. Expect to get messy!
4. Remove the oil pump. This will involve removing bolts and possibly other components securing the oil pump to the oil pan or engine block. The exact method depends greatly on your engine. You'll likely need to carefully remove and replace the oil pump pickup tube.
5. Install the new oil pump. Ensure the new oil pump is correctly oriented and installed. Refer to your repair manual for precise details and torque specifications. Double-check the oil pump drive (if applicable – sometimes it's driven by the crankshaft).
6. Reinstall the oil pan. Use a new oil pan gasket to ensure a proper seal. Tighten the bolts to the manufacturer's specifications (as per your repair manual).
7. Reinstall other removed components.
8. Refill with new oil and filter. Check for leaks.
9. Start the engine. Carefully monitor for leaks and unusual noises. Check the oil pressure gauge.
Again, this is a simplified overview. Attempting this repair without proper knowledge and tools is highly discouraged. Incorrect installation can lead to severe engine damage, including bearing failure and complete engine seizure. If you are not comfortable with this level of automotive repair, take your car to a qualified mechanic. The cost of a professional repair is far less than the cost of a new engine.