It depends on the time of contact and if the fluid it has touched ur skin
It's usually not transferred immediately but yes if it's highly infectious and many lesions were there it may spread to you
Next Steps
If lesions as such as the same appear on u let me know asap
Health Tips
Don't stress urself
If ur immunity is strong u won't get the same