No manufacturer would create a lock without a key. Same statement applies on how God works in our lives. He won't allow us to face problems without solutions. If we're in a battle, God won't get us out of it. Instead, he would help us win the fight. No easy life I should say.
In this case, a solution is available. But your friend has to find it. Whatever that solution is...God knows where it is. Your friend has just to trust God in this situation. I know he (your friend) forgets God when he did all these pleasures. Now that he's into trouble, he must have pray and pray and pray. God will always be happy for a single sinner who repents and for any lost sheep who wants to find its way home.
My friend, please tell your friend that making a mistake to correct a mistake won't make it right. You know what I mean. Never ever should he think of abortion.
God will make a way when there seems to be no way.