He's adorable and overweight. But those eyes are gorgeous! If he's a 15" (taller) beagle (measure from ground to shoulder), he shouldn't weigh more than 30-35 pounds. If he's shorter, even less, under 30. Ally gained up to 26 lbs and vet said her ideal weight was 23, so we had to cut out "table treats" - while cooking dinner, my husband gave her a taste of everything, she especially loved fruit (full of calories). Store bought treats are loaded with carbs/calories. My vet said to subtract out treats from the daily food allotment. Of course, that isn't healthy so best to cut back and be prepared for the "you are starving me" look. He also advised cutting her food in half and feeding her 2 times a day (or in thirds and 3 times a day).
Agree with everything Cassie's Mom said (I seem to always say this, lol). Try positive training (not punishment) with the peeing. Clean up using an enzyme cleaner that will also take away the smell (or look on internet and you may have something around the house you can mix up). Beagles have 225 million scent receptors (compared to our measly 5 million) and you don't want him to get used to using the area as a toilet.
Don't give him attention when he is howling. Just say no and walk away. Ally started do to screech a very high pitch scream out of no where one day. At first I thought it was cute so I was petting her then I found I was enabling the behavior. I told her to sit and walked away. For a while she just followed me with the screaming and trying to jump on me. I gently pushed her down and said sit. If she sat quietly, she got a tiny treat just to reinforce she was doing the right thing. It took months, so be in it for the long haul. We got to the state where when I came in, she would sit - then I would acknowledge and love on her. If it doesn't work, there's the bark collar Cassie's Mom mentions (I haven't used one but she's an expert).