back pain

I'm 5 months pregnant and I have bad back pain due to a fusión back surgery I have . I have 4 screws in my back . I have been taking 1/2 Vicodin and I feel nervous and scared to what this could hurt the baby . Please give me any advice