Trouble sleeping

I've had trouble sleeping for a few years now. I've taken all kinds of over the counter sleeping meds, none have helped much. I can go to sleep and sleep maybe 3 hours and then I'm awake and can't go back to sleep and if I do go back to sleep I keep waking up every 30 mins or so. I just want a good nights sleep with no waking up. 😪😴