So sorry this has happened to you - it's one of the worst feelings in the world. You don't have to do anything you that you don't want to.
The pill does hurt, but it's over very quickly... and certainly hurts a lot less than childbirth. It's like a bad, sudden period, but nothing you can't handle. There's a fair bit of bleeding and you will probably feel a bit sick. It's best if you have someone with you to give you a cuddle and make you tea.
Don't believe everything that comes up on google - there's a lot of propaganda out there, both ways. Best thing is to pop along to see your GP or local NHS family planning clinic as soon as you can and talk to the doctors there. They will be able to give you all the impartial information, have a proper chat and they will not judge you. It's OK to get tearful at them in an undignified way, believe me!
You'll be OK whatever happens. And whatever you decide, and you're not alone! Millions of women (including me!) go through exactly what you're going through right now so there is absolutely no need to be ashamed. Some of them have babies, lots of them don't. Plenty of people who use their contraception in 100% the correct way still end up getting pregnant by accident. Them's the breaks. But we get through it.
It's horribly unfair. But you will get through this. It's the 21st century and everyone has YOUR best interests at heart. You don't have to suffer.
There is support on the pregnancy choices forum here too, whatever you decide.