Different positions

I always seem to have my legs bent and up. After a while it really aches! Any really good positions that will avoid this?