Beagles are extremely food driven. Which can be good for training to walk, sit, etc. However, you have to measure out their food each day and keep all other food out of reach, this includes the trash. Make sure all cupboards are closed. Keep your beagle trim, it will save its back.
Our beagle got into the cat food years ago (one of the kids left the garage door slightly ajar) and ended up in the doggy ER because he was so dehydrated. The silly thing was so full he couldn't walk. Shot of water in his back and he was good as gold, though we moved his kennel out of the main area that night. Cat food gas is the worst.
Train the dog to stay out of the kitchen when you are eating, a spray bottle is very helpful. Use the terms "out" and "off" rather than "down" , that should be used for getting it to lie down. Mind you, we have been training him for 13 years to keep his rear out of the kitchen, but any little way he can weasle his way in, he will. Food is his life. You can use this to your advantage. If you give the dog treats it will respect you as its leader. A beagle has to want you to lead it. He who controls the food controls the beagle.
If you aren't home to watch them, make sure they have a crate. A great way to keep a beagle busy is to get one of those food cubes that they have to push around to get their kibble out of. Put their daily ration in that and they are entertained and fed at the same time. We also scatter his food on the patio, this keeps him busy eating so that the lab can finish her food (in a bowl in the house). It take the little snifferdoodle the same amount of time to finish his food as the lab, he's fast. And yes, if the nose is on, the ears are off.
Beagles can be lovely, sweet dogs. They do need exercise and supervision. They need persistent training where food is concerned. If you want a dog that you can leave a plate on the table and it will be left alone, a beagle is not it. They don't mindlessly obey. They are stubborn and have a definite "attitude". My boy is a character, and we love him dearly. But, he is a dork. A food obsessed dork. He minds us when we tell him to, sometimes in his own good time, but it took work and vigilance to get there. We are going to miss the dear little bugger when his time is up.