I’m taking a course of anti-biotics called Doxycycline but have excruciating period pain. Is it safe to take a paracetamol/coedine pain releif pill like feminax?

Thanks!