SparkFun Forums 

Where electronics enthusiasts find answers.

Hi shanijo92,

Unfortunately, we do not really have much information available on our site to help you with this project. We have a couple of blog posts like this that shows an Inverted Pendulum Robot. That has some basic information and tips to help users get started building their own.

A quick search turned up this tutorial on that might help you get started. Otherwise, you could search other tutorials sites like Instructables for some examples.