thanks for your query at HCM
2 months period with , alternative diarrhea
might be due irritable bowel syndrome
or inflammatory bowel diseases.
though these are rare but presents with diarrhea and constipation in alternative manner.
i recommend you to consult physician and get investigation done and take medication accordingly.