First, he should be fully potty trained. Most 6 month olds really aren't, even though they probably have a very good grasp of it. You may have to go out with him for a while until he understands that he should go down and do his business, and take him out frequently at first. Make sure you are watching him so you know he has gone, and reward him and praise him for going. At 6 months old, it is ver likely he'll become distracted with his new freedom, so you may have to take him out on leash for a while at first so he goes potty, and then let him off the leash as his reward for going potty so he can run about for a bit.
As he gets older, you'll probably be able to just open the door and let him do his thing. I usually allow 10 minutes or so before leaving for work or bedtime for my dog to wander around outside and do his business, so perhaps allow for that. If your dog has no recall training, you will probably have to put him on a long line or something so you an reel him in if you're in a hurry and need him to come inside. I taught my dog a recall, and he gets a nice treat every time he comes inside, so it's not quite so horrible to come inside after being free in the yard!
Also, huskies are known to be escape artists and known to wander, and beagles like to follow their noses, so make sure you check on your pup frequently to make sure he's not trying to make an escape!
As he gets older, you'll probably be able to just open the door and let him do his thing. I usually allow 10 minutes or so before leaving for work or bedtime for my dog to wander around outside and do his business, so perhaps allow for that. If your dog has no recall training, you will probably have to put him on a long line or something so you an reel him in if you're in a hurry and need him to come inside. I taught my dog a recall, and he gets a nice treat every time he comes inside, so it's not quite so horrible to come inside after being free in the yard!
Also, huskies are known to be escape artists and known to wander, and beagles like to follow their noses, so make sure you check on your pup frequently to make sure he's not trying to make an escape!