Betta fish

Any one on here good with fish? I can't seem to get this one right. I thought I had the tank water right, cycled it for a week, and went and bought a betta. It's been a grand total of 12 hours and he's lying on his side at the bottom of the tank. What gives?