welcome to HealthcareMagic
The medicine Cytotec
you used is Misoprostol
and is used in induction of labour and it alone cannot cause abortion
that is the reason you had failed abortion as there is another medicine which produces the bleeding for abortion and not Cytotec.Since you are 5 months pregnant now it is too late for abortion and you will have to undergo delivery procedure.I guess you had not consulted a doctor and took the medicine so now nothing can be done.Consult a Gynaecologist for opinion and she will advise you when and how you can get the baby delivered.