How do I go about making a timer/notification event fire from a user-selected time?

hi, im trying to make an app that notifies users to take their medication at a chosen time. how would i go about that? ive screwed around with the clock and the timepicker but can't seem to figure it out.