Owning a cat is fun, but it always leaves a smell in the house. To get rid of it, first, thoroughly clean up all the cat's excrement and fur, and ensure good ventilation. Remember to bathe your cat regularly. Also, remember to potty train your cat. 
What to do if your house smells bad after getting a cat?
If your house smells bad because you have a cat, you should first clean up the cat's excrement and fur, disinfect the area, and keep the environment well-ventilated so that the odor can dissipate quickly.
Cats that aren't bathed for a long time can cause the house to smell bad. It's recommended to bathe them with cat-specific shampoo regularly. Normally, it's advisable to bathe them once a month, paying special attention to cleaning their paws, teeth, ears, and other areas.
If your cat defecates everywhere instead of using its designated litter box, its feces will naturally smell very bad. You need to train your cat to do this. Also, you need to change the litter regularly to reduce unpleasant odors in the house.