If your toilet is gurgling when you flush it then it's likely due to a clogged line leading to your drains vent that is connected to the toilet.
It sounds like air is trapped and trying to get out and if the drain vent is clogged or even partially clogged then your toilet will make a gurgling noise.