See doctor. If you have an acute small bowel obstruction you should get emergency care. There are several possibilities and you will likely need to be hospitalized for at least short period of time since you will likely not be able to eat or drink until issue is resolved.
Surgery, maybe. Small bowel obstruction caused by adhesions or scar tissue often resolves with supportive care, like draining gastric juices and air out of the stomach and upper bowel, bowel rest, and giving IV fluids. If it doesn't, surgery may be needed. Small bowel obstruction from other causes, such as hernia or tumor, requires surgery as primary treatment far more often.