Is EP a form of birth control?

Ke
My husband and I had sex for the first time since I had my son and we didn't use anything for protection. I don't think I've gotten my period back yet but I'm still freaking out. Does exclusive pumping prevent pregnancy to any degree?? I'm kicking myself over here 😖