Worried

Hi ladies I need your advice! Yesterday I had my obgyn appointment to check on baby and everything looked great (almost 12 weeks). Afterwards my husband signed me up for a yoga class they told him that pregnant women could do that class. I went to the class and it was all focusing on core and a lot of leg movements I tried to keep up afterwards I told the teacher that I was pregnant and she told me I shouldn't have done those😕. Now I woke up and my lady part hurts and I have a lot of discharge (not pink or bloody). I am freaking out first time mom!! Should I go see my doctor?