OnlyFans works by allowing content creators to upload their content, set their own subscription fees, and interact with their followers through messaging and direct content requests. Fans pay a monthly subscription fee to access the content and can also purchase personalized content from their favorite creators.