Generally there is no risk of pregnancy
while using condom because of the material of condom semen cannot come in contact with the female organ until the condom is intact.
If you had put on condom before penetrating the vagina then risk of pregnancy is mostly abolished.
In short no discharge of yours should be touching her vagina and she cannot become pregnant any how.
Hope this clears all your doubts,'