It's probably in your diet or something in your intestines. You need to avoid junk food and consume more of fresh fruits and vegetables everyday as they are rich in fibre and prevents constipation
. Raw carrot everyday, or a bowl of oats helps a lot. Also keep yourself well hydrated.