Engaging in sexual activity with a condom, even if it doesn't cover the entire penis, reduces the risk of sexually transmitted infections (stis) and unintended pregnancy compared to not using a condom at all. However, it's important to note that using a condom properly is the most effective way to reduce these risks.
If the condom was pulled out by holding the tip where the sperm is stored, there is a possibility that some semen could have come into contact with the vaginal area. While the risk may be lower compared to not using a condom, there is still a potential for transmission of stis or pregnancy. It's advisable to seek medical advice and consider getting tested for stis.