WHAT IS GOING ON?

So I've been renting this apartment with my boyfriend for a couple months now . We've had bug problems but this is out of here!! All day I've been cleaning up maggots out of my carpet! It's not from trash. I don't see any in the trash bag. Or the kitchen at all. They are just in my living room in front of my couch. I was cleaning some up then saw two come out of it! I know there's nothing dead under there bc there not an underneath. I'm freaking out!! Idk what to do! It's always one thing after another with this apartment! It's so nasty!! Plus when we moved in the land lord didn't even have the carpet cleaned. Or even vacuumed! Y'all I'm really freaking out. I do not do worms!! Especially nasty maggots ! I caught my dog eating one! I'm going to scream plus I'm pmsing!! Ugh worst day ever! It's just going to continue. I put my dog outside bc I was afraid it was him but it's really not. I'm leaving him out there just incase they get on him. But anyway what do I do???