4nickate is right. no stds show up in less than 24 hours...
It could by physical trauma, that is a very short amount of time for any type of infection to show up, usually the shortest time would be two days.
But if I were you, I'd get it checked out in any event. I just wouldn't expect it to be a STD.