if ur fan comes on and temp still goes up...
that can be a lot of thing, first u may loosing coolant, need to bleed the cooling system, faulty radiator cap, head gasket...
have a look the spark plug if they had rust on it.
take out the thermostat and test it.