That’s what the fenc is for. Although, they don’t do much damage till the melons are near ripe. Bastards took a bite out of every one of them one year. I mostly have rabbit problem. They will eat a lot of plants entirely when just getting started. They love bean plants