Cough while pregnant

I recently got a cough and it’s getting worse idk what to take or take but it’s hurting my throat cause it’s dry