Depends,
Cheap non draught beer, can.
Draught beer, glass.
Decent ale, glass also.
And if I have bottled beer I'll usually tend to drink it from the bottle rather than pouring into a glass as the drink stays more carbonated that way and I like my bubbles.