Timed weapon drops, just by playing on official and community servers (VAC enabled) in any game mode.
Opening dropped weapon cases with a weapon case key.
Trade weapons with other players through Steam's Trading interface.
Purchase them from other players through the Steam Marketplace.