Ah, that’s what’s called a blade grinder. They’re not great for getting a consistent grind size for coffee. They’re excellent for spices, but you’re going to have a hard time with coffee beans. If you don’t want to spend money on a burr grinder, you’ll absolutely have to pulse it and I’d recommend shaking it like a cocktail shaker too. It won’t be perfect but it’s probably the best you’re going to be able to get with it.
If you want to invest in your coffee more, absolutely look into getting a metal burr grinder. Skip the ceramic burrs, they’re not much better than blade grinders. If you don’t want to spend too much money, look at a hand grinder. KINGrinder is well reviewed on the budget end. Their P series (P0, P1, P2) is probably the cheapest metal burr grinders you’ll be able to find.