Nope. You'd be FINE

Delta-9-tetrahydrocannabinol (THC) the active substance in cannabis, the thing that makes it illegal has anti-biotic properties... So i use cannabis to treat things like infections, espesh chest infections, gets rid of them alot quiker than 500mg tabs of penicillin anti biotics.

If anything it make you recover quicker and get you high while doing it.