Do some research, understand a problem, talk to people, understand what they would pay for, propose solutions, validate them, build the best one, launch it.