In the most basic scenario; you just enable OSPF, give it the networks to distribute, and that's it.
For instance;
Router>enable
Router#conf t
Router(config)router ospf 1
Router(config-router) network x.x.x.x y.y.y.y area 0
...
Here, x.x.x.x is the network address and y.y.y.y is the wild card mask. A wild card mask appears just like subnet mask, only bitwise negated. For instance, if your subnet mask is 255.255.255.0, corresponding wildcard is 0.0.0.255. You can think it like this; if you add each byte of the subnet mask and the wildcard individually, you will always get 255.255.255.255.
For local networking, just leave the number after the "area" 0. Also, the number after "router ospf" is related to the workings of the ios.
After that, or before that, order is not important, you can add your static routes without any special effort. But remember that there is an option just to redistribute the default route. You can do this by issueing
Router(config-router)default-information originate
command.