Why is this happening:(

I’ve missed my period by 11 days and I now have swollen lymph nodes under my right armpit. At first I thought I could be pregnant but I know that swollen glands usually indicate an illness or viral infection that your body is trying to fight off. My plan is to get a test tomorrow but can anyone help me understand what’s wrong with me :(