Argument 1: cannot convert from 'UnityEngine.GameObject' to 'float'

Argument 1: cannot convert from ‘UnityEngine.GameObject’ to ‘float’
I really do not know why does this error appear. If someone knows how to fix it, I would be really thankful.
Code:

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class AttackPlayer : MonoBehaviour
{

health h;

void Start()
{
h = GameObject.FindGameObjectWithTag(“healthBar”).GetComponent();
h.TakeDamage (gameObject);
}

void OnTriggerEnter (Collider other)
{
TakeDamage(10);
}
}

Because in your health script your TakeDamage method is expecting a float value as the parameter, yet on this line:
h.TakeDamage (gameObject);
you are passing in a GameObject. It cannot figure out how it is supposed to convert that GameObject into a float value for it to use. Look at your OnTriggerEnter method a few lines further down and you can see that in there you are correctly passing in a numeric value to the TakeDamage method. So instead of passing gameObject into the method, just pass a number.