Pregnancy scare

So I took a test & found out I am pregnant. However I am not ready. Am I wrong for wanting an abortion? I’m way smarter than this to have unprotected sex. I just let one asshole of a guy take advantage of me during a vulnerable time and now I’m ashamed !