17 weeks and diarrhea

The past couple of days I’ve been more gassy and some diarrhea, nothing really serious, But it was a little worse earlier. I just went to the bathroom and all that came out was mucus. It was probably a little over the size of a quarter. Should I be concerned?