Female dogs and male dogs each have their own roles in the pack, and usually can get along with each other in the home without injury. But if it you have any doubts, ask your veterinarian to recommend a behavior specialist who can observe the dogs in person.
Do be careful about things like food, extra-special toys, treats, and other things that could create excessive competition between them. Here are ideas that help when managing multiple dogs in the home:
Spay/neuter both of them.
Work with your veterinarian to be fully aware of the medical issues affecting each dog. For example, a dog with hip dysplasia, a damaged knee ligament, deafness, or blindness will react differently to other dogs. A seizure disorder could make one dog the target of another, or could cause the dog in the seizure to become aggressive. Some medical disorders will call for separating the dogs at least part of the time.
Give no food of any kind to them without enforcing complete separation until both are finished eating. Any toys they would fight over need to be removed, and given only when they are apart. Same for chew items.
Obedience training. You need to be able to control EACH dog without your hands or a leash, just your voice. Then you have a chance of controlling both when they are together. You do not want to be sticking your hands between two sets of flashing dog teeth.
Take each dog away from the house daily for training time away from the other dog. This strengthens your individual control over each dog incredibly.
Comb out or in some other way thoroughly groom each dog daily. This makes it a lot safer to put your hands on them when they are aroused, plus it powerfully strengthens both their individual attachments to you and their obedience to you.
Have them do a 2-minute Sit-Stay and a 4-minute Down-Stay about 4 feet apart, every day.
As long as you have concerns they might fight, separate them when you are not able to supervise them.
When you arrive home, immediately let them out to run together. A fenced back yard is a huge help with this. They will argue a lot less if they can solve some of their relationship issues through running together. This is particularly important when returning with one of them who has been out with you. If they are cooped up in a small space when feeling this way, fighting is more likely.
Be careful about when and how you intervene. An owner interrupting the interaction between two dogs at the wrong time can actually trigger fighting. Dogs are also capable of fighting to get your attention.