Once you know the engine, you can then look up the correct oil filter using an online parts store like AutoZone, Advance Auto Parts, or NAPA Auto Parts, by entering your vehicle's year, make, model, and engine. These websites will show you compatible filters.
Don't rely solely on general recommendations; using the wrong filter could damage your engine.