Got my doxycycline antibiotics but

I got tested for chlamydia and yes I was positive, got my antibiotics. This is a silly question but can you still take them if you’re period is approaching or if you’re on your period? And also is there any foods I need to avoid while on my antibiotics?