Coldsore while pregnant

I feel one coming on and I usually take tablets but I’ve run out and won’t be able to get some till tomorrow as it’s 11:50pm now is it safe to have a coldsore during pregnancy?