From what you have described you should not be worried about STI infections.
STIs do not travel through air or wind. HIV dies very quickly when it is exposed to air, so it is unlikely that any living virus was present in this blood. Hepatitis C or B can live longer in blood but the blood would have to get into your bloodstream and this would not happen through touching blood with your hand. If you did happen to have blood on your hand and you licked your hand the blood would enter your stomach and the acid in your stomach would kill them.
What you have described is not a risk for STIs.
Please leave a comment to let us know if this answers your question or if you need more information.
For other readers, please feel free to leave a comment, or let us know if this was helpful.