Milestone-based payments are standard: an upfront deposit of 25 to 50 percent, then payments tied to delivered, testable milestones. This protects both sides. Be wary of 100 percent upfront, and equally of developers who ask for nothing, since both signal inexperience.
Have a question specific to your product?
Share the context and I will reply with a practical next step.