Can you get pregnant if a guy ejaculates inside of you during sex if your on the pill?

Yes, there is a chance you can become pregnant. No form of protection is 100% effective in preventing pregnancy.