I have had chronic nausea and constipation for over a month

This has been going on for a month, the nausea gets worse when I try to sleep and the constipation varies. Sometimes it is really bad (rabbit pellets that are dark). I also feel like I’m in a brain fog