All Female cats will spray when they're in heat especially if the female cat has not be spayed.
Male cats that aren't neutered will also spray when the female cat is in heat to mark it's territory.
If you have a female and male cat together you should get the female cat spayed and the male cat neutered to prevent the spraying in the house.
You can get some spray from Chewy.com or other retailers that you can spray on furniture and other things indoors that you don't want the cat to spray on.
But I do recommend getting your female cat spayed and if you have a male cat have him neutered as well to stop the heat cycle.