NOT immune to hepatitis B.. hurt baby?

I’m 11 weeks pregnant and I just found out by work(work at a hospital) that I’m NOT immune to hepatitis B. My husband was not immune to it (he found out last year) and got a shot. Now I find out & was told I need to get a shot but keep forgetting about it because I’m so busy. Will this hurt the baby at all? I plan on getting a shot but also since I’m pregnant not to sure if I can get it.