Pepperoni during pregnancy

I’m about 4-5 weeks pregnant , I had two miscarriages before one in April one in December last year. I just found out I’m pregnant a few days ago. Trying to do everything right , and we just had pizza and there was pepperoni on it. I ate some of it and now I feel guilty. I hope I didn’t just do so something wrong. I’m

39 and this is my last hope. I hope my baby is still ok. After loss I’m just on edge and worry about everything. Do u think it’s ok? I only had about 5 of them.