First, something is bad wrong if you can't look forward without hurting your neck. You may not be flexible enough for your bike, or your fit could be bad.
Second, avoid every obstacle that might harm you. Some obstacles in that set are the same for everyone (cars, people, walls, etc.), but others are specific to you. I can ride over a bunch of stuff now that used to threaten my balance.