If you're in classic client.
Single left-click your character
Open Titles Menu
on the left side, click Subtitle
then click Guild*
click the title on the right side, then click apply.
* If guild doesn't show up as an option, you need to have a Guild member or the guildmaster of your guild to give you a title through the guild menu.