Could I have IBS?

Hi I’m 18 and feel really confused right now. I noticed I recently started getting constipated a lot like a bowl movement every few days after being constipated and whenever it’s like really bad and been like almost 4 days I get the urge to go to the restroom at night like around 1,2,3 or 4 AM like I’ll have to run to the bathroom it’s like diarrhea. I would say I don’t eat healthy, I’m in college and I eat a lot more than I used to as well but my weight is still the same? I also don’t have a doctor and I’m a bit afraid/embarrassed to go to the doctor bc of my family. I’m literally so shy. Help idk what to do