I droped my iphone and won't turn back on?

Today I dropped my iphone 4 and at first it didn't turn on but after 10 min it did. I've been using it since then until I droped it with and case on on my carpet. It turns on if I plug it in but if I unplug it it will shut off agian. Also when it is pluged in it doesn't work.

Go and get it fixed.