Yup, we need more detail. Sorry about that.
Same thing happened to me, briefly. It happened when I went on a low-carb diet (which appears to have saved my life, by the way). A common side effect is constipation, which I solved. But your post is so vague there's no way to tell what your issue is. Your problem could be the opposite of mine (i.e. diarreah).
Edited to add: Your post is tagged as "1.5 diabetes" (LADA diabetes) but your avatar lists you as Type 2. Very different, so it would help if you could clarify this. Thanks!