I think im pregnant

My name is jasmine and im 18. I met this guy about 3 weeks ago and i ended up having sex with him and he purposely put sperm inside of me during sex and we talked on the phone after that then he stopped messaging me havent talked to him since a few weeks ago and now ive been cramping and getting a sick feeling in my stomach i feel like he got me pregnant then left he doesnt answer my texts or calls i thought we wete going to be good together but! Its weird because i was on the pill at the time so i dont know what to do or how to tell my family if i am im so 😨 scared i need help and i need a pregnancy test but im scared to go to the doctor and i dont have money to buy one im so stuck what if i am pregnant, !!!!!???