Thank you for your query at AskTheDoctor.com
I understand your concern.
For pregnancy to occur, ejaculation has to happen inside the female vagina.
So, if you used condom there is no chance of pregnancy irrespective of you ejaculate or not.
Hope this was helpful,
These Q&A’s are for educational purposes and should not be relied upon as a substitute for medical advice you may receive from your physician. If you have a medical emergency, please call 911. These answers do not constitute or initiate a patient/doctor relationship.