Late period

This month I have lost 20 pounds. I have been on the Keto diet. A couple of weeks ago I got sick and lost weight from that. I have sex, with condoms but my period still isn’t here yet. I have a had cramps and a headache for 4 days. My vagina also has been really itchy like I am getting a yeast infection. Should I take a test?