What can I take

What can I take for a bag cough while 4weeks pregnant. I was taken some med for my cough and sinuses.. Suddafed and something out for my cough called something pearls..but than found out I was prego stopped taken it Cause didn't no if I couldn't take it still... My cough is keeping me up all night haven't got a good night's sleep in a while.