Quarteira, being adjacent to Vilamoura, is within walking distance. However, there's also an urban bus service:

http://www.lcglobal.pt/uploads/file/f...

http://www.lcglobal.pt/uploads/file/f...