Hello
The name of the medication was not specified in the question, but in general, if you take any medication and feel allergic reactions, discomfort, dizziness, diarrhea, constipation, or nausea
All of these are side effects that require you to stop the medication immediately and consult a specialist doctor to change the medication to another suitable for you that does not show any side effects.
My best wishes for your recovery.