You Potty Train your 5 Month Old by food and Potty Train My 5 Month Old Strict order.
Are you using a crate? Both those breeds are known to be a little on the more difficult side and you have to be very involved and on the ball to get it done. :-) The good news is that your pup is about old enough to be able to hold it for longer periods now so things can move more quickly from here on out. Here are some general tips I wrote up in the first link and maybe something in there will help. Good Luck.
q1030225.html#a2177360 http://www.chihuahuaclubofamerica.com/
http://www.americanpomeranianclub.org/
q1030225.html#a2177360 http://www.chihuahuaclubofamerica.com/
http://www.americanpomeranianclub.org/