Hello and welcome to e health forum.
Chances of pregnancy is present only when sexual intercourse occurs around the time of ovulation (unsafe period of the cycle - from day 12 to day 16 of the menstrual cycle in a 28 day cycle).
Chances of pregnancy are nil, when intercourse occurs outside of this period.
In your case, if you mean, vaginal masturbation by fingers, then there is no risk of pregnancy.
But in case, your partner did use his erect penis, to stimulate you, presence of precum on the penis can result in pregnancy. But the chances for this is much lower than that occurring after a complete ejaculation.
The best way to prevent such anxiety is to always use a condom regularly, or to use a emergency contraceptive pill after intercourse (specifically when you are in the unsafe period of your cycle).
In case, you do miss your period, you may do a urine pregnancy test, to confirm your status, and consult a doctor for proper advice.
I hope this helps.