It is important to set boundaries and communicate clearly in situations like this. A respectful response could be, "I appreciate the compliment, but I would prefer to be spoken to with respect." You could also remind them that comments about your body are inappropriate and make you uncomfortable.