Assuming you're cooking hot dogs on a grill:
You'll know they're done when they've been heated through to the center and have nice grill marks on the outside. To check for doneness, insert a meat thermometer into the side of the hot dog - it should read 160 degrees F.