It is less likely, but still possible to get HIV in the situation mentioned above. HIV can spread via unprotected sex, blood transfusion, needle sharing, or from mother to baby during pregnancy/breastfeeding. As far as oral sex goes, the risk is lower, but still exists. The chances may rise if there are any cuts/sores on your mouth/genitalia.
It is also possible to get other STDs (gonorrhea, chlamydia, syphilis, herpes) via oral sex. They spread through contact with the infected secretions/sores.
To keep your body balanced and your immunity strong will go a long way in keeping infections at bay. In Ayurveda, agni (digestive fire) and ojas (vital energy) play an important role in our immune system. We need to keep them strong to boost our immune system.
Include immunity-boosting food items like warm, easily digestible food and spices like turmeric, ginger, and tulsi. Drink warm ginger/tulsi tea first thing in the morning. Take them before meals to kickstart your digestion. Avoid cold, hard-to-digest food that may hamper your agni.
However, if you think you have been exposed to HIV/STDs, it is important to consult a doctor immediately. You should get yourself checked for other STDs (including HIV) for your wellbeing. Regular testing is recommended since some STDs may not show symptoms right away. Talk to your doctor about preventive measures. There might be more ways to protect yourself.