Wait until fermentation is complete. From there, there are two schools of thought on this. Some just use primary for dry hops and some rack to secondary and hop in there. I'm in the second group.
Regardless, wait until fermentation is done and leave for up to seven days. From there you can rack to a bottling bucket and bottle