Yesterday my boyfriend ejaculated outside my lower part. We didn't have sex. We just did foreplay and at the end he ejaculated on my part. My periods are just about to come. Can I get pregnant?
I realize that when communicating in another language, word choices can sometimes imply things that you don't intend. What I gather from your question is that you and your boyfriend were playing with each others bodies, where you were either naked or at least had your genitals exposed. In the process he ejaculated and his semen landed on your vulva.
What you did is condemned in the Bible as a sin of sensuality or lewdness, depending on the English translation. "Let us behave properly as in the day, not in carousing and drunkenness, not in sexual promiscuity and sensuality, not in strife and jealousy. But put on the Lord Jesus Christ, and make no provision for the flesh in regard to its lusts" (Romans 13:13-14).
Regarding your specific question, it is possible to get pregnant in the situation you described, even though he did not put his penis inside you. The reason is that when you are sexually aroused, your vulva swells and opens up exposing your vaginal opening. At the same time you are producing lubricants that is dripping from your vagina. This gives the sperm in his semen a path to swim into your vagina and into your womb. Not many sperm would survive such a journey, but it is still possible.
You can only get pregnant on the day that you release an egg. This happens 14 days before your next period starts. If your period is late this month, it would mean your next egg was released later than usual. However, assuming that you do have a period, then you are not pregnant.
Sex is only for married couples who would not be upset if a pregnancy occurred. If you realize that you should not get pregnant, then that means you should not do the things that lead up to pregnancy. After all, given the situation you were in, it would be only a matter of moments for your boyfriend to slip his penis into your vagina and ejaculate there. You weren't really doing anything to prevent a pregnancy from happening.