Problem certificatre ssl

How do I switch to the non-www version?
Do I have to pay?
Thanks