my husband keeps getting a skin infection on his legs forming sores now what other than antibiotics will fix this?

He’s been to the Dr twice now and put on antibiotics both times but keeps getting this "skin infection " the Dr says. It starts with red swelling and now it’s started forming sores or rash over his lower legs he can’t keep going on antibiotics what can he do?

He looks to be having type 2 diabetes