How do I make the brick lines straight so it looks like this?:
With generated texture coordinates: In the texture tab of the properties panel you can set the mapping of the image texture to Sphere or Tube:
With UV texture coordinates: if you press U to unwrap your object, select "Sphere Projection" to get the effect of the sphere mapping or "Cylinder Projection" to get the effect of Tube mapping. Note however that these mappings depend on the angle of the current view on the object. You should look on the side of the sphere, not on the poles.