There is a formula to calculate this
F (centripetal) = m2*(v^2)/r (pulls you outwards)
F (gravity) = G*m1*m2 / (r^2) (pulls you earthwards)
m1 = earth mass
m2 = spaceship mass (cancels, look the formula, so is independent)
v = spaceship velocity
G = Constant
r = distance to the earth center (radius)
So when
F(centripetal) = F (gravity)
m2*(v^2)/r =G*m1*m2 / (r^2)
The force you are receiving is 0.
Using this formula you must calculate what speed you need to be in orbit, at that speed forces will cancel out and you will feel weightless and spaceship will keep at the same altitude (will not fall) .
If you are using a "wrong" speed, one which does not make forces cancel out, you will start to feel the gravity and you will fall to earth.