In the picture his fins look clamped down. I'd check your water for ammonia, nitrites & nitrates. Aside from that, bettas normally spend a great deal of time at the water surface blowing bubbles, etc.
Whatever you do, though, try to avoid using medications unless you are 100% sure of what is...