Getting rid of fleas is a multi step process and can be difficult. Because you have to not just kill the live fleas but also take care of the eggs which can take several weeks to hatch. So you have to treat the day and the environment.
Every part of the house needs to be thoroughly vacuumed...