My doctor prescribed doxycycline for a sinus infection and a bad cough. She told me that doxycycline is used for sinus infections. Is it ok if I took it?