How to put my app on my iPhone?

I made an app.

I don't want to sell it just yet on the app store, I just want to put it on my phone.

Is there a program that allows me to put and test my app on my iPhone, or are there locks on the iPhone to prevent me from putting my stuff on there?

I have an iPhone 5, running iOS7

You need to signup for the developer program.