When going through a curve, you should:

Road and traffic conditions can change at any time. Always be prepared to change your lane position as appropriate no matter where you are on a roadway. The best path through a curve does not necessarily follow the curve of the road.
DMV Writen Test