When did your whippet puppy stop peeing inside the house?

What age were your four-paw friends when they stopped peeing inside your home? My pup is 5 months old and constantly does it inside the house. I know it differs from breed to breed and personality to personality, but I'm just curious! I can't wait for a day when it will stop forever. Sometimes, it feels so overwhelming.

https://preview.redd.it/jtzet9owv6pe1.png?width=1288&format=png&auto=webp&s=f8a864e1886c4f668142a2888d33957b54b2f933