Depends on the context but normally on/in the ground. If something is placed on the pavement/grass/street or anything at that level it is on the ground. If it sticks out of it it is in the ground.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.