only hot water is wanted?
If your heating system is anything vaguely like a Honeywell S-plan, It is possible that you have a zone valve stuck open.



I would check the zone valve. Older ones had a small lever whose position indicates if they are closed or open.

If necessary, you can replace the motorized part without undoing the plumbing joints.