well you have to have the Herpes Simplex virus but yes, stress will almost definitely bring it out.
get some cream for it and keep it handy for next time, although I find it only helps if you catch it right at the first tingle. once you have a cold sore it generally will have to take it's natural course, but creams may help.