If you end up killing Three Dog in Fallout 3, do not worry; you can simply continue with the main storyline as normal.
If this is your first playthrough and you are unsure where to go next, head southeast until you reach Rivet City, the settlement built on an aircraft carrier. Once there, find the science lab and speak with Dr. Li to keep the story moving forward.