My plant soil has bugs?!

I got a new soil for an indoor plant I have and after a while I noticed nats coming from the soil. There’s a good amount of them after I water it so I know it’s coming from that. Is this suppose to happen? I’m going to look into a new soil I was just wondering is anyone knew why this happened?