Turn left to cross under the railway.
The climb ahead is a welcome change from so much flatness. Santarém is at the top. Turn right when you get to the main road in Santarém and continue straight until arriving at a large roundabout (actually a big oval). There are multiple routes through town.