Whatever you do, you need a comma before Sir , in both sentences. If the person is a lord/peer, you might say Sir Robert . If he isn't, a capital isn't normally used.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.