So, given your photo, it looks like this is what's called an "erect ear". This should only happen when the dog is excited or feeling really happy. For some breeds of corgis, whose ears are set low over their head, the erect ears may still be pressed against the head. You might want to check out my article on how do Chihuahua ears stand up for more information...