If you don't know much about cars or you just want to feel a little more secure, bring a very knowledgeable friend or your mechanic. I'd do it if I were buying a used car.
As for maintenance, I'd probably have everything at least inspected first and most of the fluids changed, before I drive it.