There's a pervert in my house and he brought his mother, I really want to make them both leave.
What did they do to not want them in hour house?
The pervert did a lot of inappropriate things to me and I just can't tolerate a mentally ill person in my house
It is perfectly fine not to let people in your house if you don't want them to be there. And if they are being inappropriate to you is even more of a reason not to allow them there.
Like what if I want to stop them from being in the house?
If you want to stop him, then stop him. It is your house and you have every right to kick anyone you want out of it.