If you had two infections back to back, it might be a clear sign that you should take it slower and easier on the training, it could be a weird coincidence, but chances are your idea of what training you should start with and what your body can realistically handle at the moment might not be in agreement.
You are much better off taking things a bit slower than getting sick multiple times from overdoing it.