They should be required to go through a more extensive training that goes for a full 4 years, including courses in both ethics, as well as Constitutional law before they're active duty. Focusing on community service and de-escalation would be a plus.
A doctor requires 8 years of school before we trust them to have a life in their hands. Cops are getting guns and the same with almost no training.