Infection ?

So ever since I’ve had a really bad case of constipation I’ve been feeling really nauseous, I am I’m birth control and I’m not pregnant so it isn’t that. Isn’t possible I have caused a gut infection / issue