I have 2 windows services, ServiceA and ServiceB.
I would like to know how can I start ServiceA first and then start ServiceB when ServiceA is on interval.
Service dependencies is exactly what you need. If ServiceA depends on ServiceB, it will be started only after ServiceB entered the running state.
If you need to add dependency to the service you're developing, first add service installer to the project, then use it's ServicesDependedOn
property to specify services that should be started before yours.
If you need to modify dependency of installed service, use command line (or programmatically run the command):
sc config [service name] depend= <Dependencies(separated by / (forward slash))>
If ServiceA has a dependency on ServiceB, the latter will be started when starting ServiceA.
If your question is "How to add a dependency to another service", see create dependency between windows services startup, How to add dependencies to a windows service.