Pushing my bf away

I have really bad anxiety sometimes and also have had bad experiences in the past with boys where they’ve taken advantage of me or said all these things and then left me. I feel like these are all affecting my current relationship. My boyfriend has been amazing with me and is always so patient but sometimes I feel like I’m pushing him away in the fear of him seeing how broken I am inside and him running too. I just don’t know what to do