What is the best way to get rid of garden pests?

I don’t want to ruin the flowers, but i have these really red beetles that devour everything mid summer. Does anyone know a really effective way to get rid of them?