If your profession requires working with dogs, such as being a veterinarian or a dog handler in law enforcement, it is permissible. However, necessary precautions should be taken to ensure cleanliness and follow Islamic guidelines in such interactions.