Do you see others riding bikes around the neighborhood?
With practice, one learns the rules of the road. Also, start looking for bike-friendly routes to ride on. Sometimes jumping over a block or two can make a huge difference for traffic.
I wouldn't get a top of the line bike for your first bike. Hunt through the ads to find a sturdy used bike in the $100 to $300 range, and HAVE FUN.