Most things that get clogged in the toilet will dissolve after some time. However, depending on what you threw down the drain, it might take anywhere from a day or two to a couple weeks. Most people wouldn’t want to wait that long, so it’s best to call a plumber or try to unclog it by yourself right away.