Magpies killing blue tit fledglings

Any way we can stop magpies coming into our garden, we had 5 bluetit fledglings but we are down to two because a Magpie is taking them away? Any tips to save these last two? It's our first family in our bird box.