Temperature spike?

So yesterday i was driving home and just as i was getting home i noticed that the temperature was above average but i was so close to home it didnt matter. I get home check everything no coolant in the oil everything checked out good. Today on the way to work about a 20-25 minute drive same thing happen as i get close to work i seen it creeping up again but i countinued to drive and then it started to drop back down to normal temp. and stayed there. Any idea on why this would happen? Maybe the thermostat is sticking?