Reason tells us other people are also rational agents so we are all equal. So, reason tells us we should only act on principles that can be followed by everyone.
Kant believes that we should treat people as an end in themselves, as free rational beings who should be treated with respect and not exploited under any circumstances