I'm a diabetic and lately it seems as though my body has an odor. Do I have an infection?

Depends. It depends on what odor this is. I would first check your sugar and ketones by urine dip stick to make sure you are not in ketoacidosis state that results from uncontrolled diabetes and energy starvation. If negative, you need a comprehensive exam including genitalia because yeast infection is common in diabetics. There is a good chance no reason is found.