Oil prices went up after falling in the previous session as worries about further interest rate hikes in the US eclipsed optimism about rising demand in China.