Westie @ 5months Still Having Potty Training Issues.?

My westie is 5 months old and he is STILL having potty training issues. He is potting (Pee) in his cage, and sometimes just doesn’t hold it even though I know he can. He does it most days for 7 hours while im at work…but some days he just WON’T. He...