That depends on you.
If you decide to work directly for a company instead of having your own, you will have to discuss that with them.
Otherwise, you can set your own hours but have to make yourself available when customers need you.
It might require some weekends and holidays.