1) find a topic you care about
2) search for foss or just oss related projects
3) read both their codebase and documentation, learn exactly how they work