Shampoo carpet & all upholstery, if leather seating use a quality leather cleaner folllwed by a conditioner.
Most folks forget about the headliner if you want smoke smell free it has to be cleaned also.
If it has a cabin air filter ( filters air coming into hvac system) it needs to be changed.
Many places rent ozone generators, leave one window slightly open just enough so the power cord is not pinched.
Run it for 8hrs to overnight, afterwards turn off & remove, lower all windows & allow to air out for 3 - 4 hours.
The folks I know that do it professionally for really funky odors let the vehicle run with a/c on recirculate high fan speed for 1-2 hours while the oz gen is running.