Use the correct tense form:
If you (invite) him, he will come.
If you invite him, he will come.
If you invite her, she will come.