Section heading sytle
You can find a pretty good summary at: Scribbr
But note that some universities will have a required &quot;style guide&quot; as do many journals. Your advisor can probably point you in the right direction, as could any of the office staff in the department.
But doing it inconsistently is a problem. Stop doing that.