Trying to figure out a way to advise without getting too spoilery... Well, my advice is to just do whatever quests you want, knowing that you MIGHT still get a chance to redo some that appear locked off, but some others are mutually exclusive no matter what the case.
In case that's too cryptic, and you want more specific info:
Spoiler After Ring-A-Ding-Ding, the NCR and the Legion forgive you for any past crimes. (EDIT to clarify: This sets negative reputations back to "Neutral.") You can spend the first part of the game doing one faction's quests, totally brutalizing the other side, and then turn right around and start doing the other faction's quests -- to a point. After all, killing some folks as part of one quest locks off some other quests. You can't massacre the Legion camp for the NCR and then go back later to massacre the NCR camp for the Legion -- somebody has to be left alive to reward you.
When you get to a certain point in the main quest later in the game, you'll start to see quests listed on your Pip Boy that warn you that proceeding any further will lock off future quests with certain factions. "Don't Tread on the Bear," for instance, is a quest that appears to warn you that if you keep doing stuff with certain non-NCR factions, you're going to lose any chance to work on the NCR's main quest endings.
Otherwise, unfortunately, there is no general advice anyone can give about how to avoid locking off quests due to bugs. Sometimes just chatting with people in the "wrong" order means entire quests are unable to be completed in certain ways.